Decision Workspace
wcag-contrast vs perceive-color vs use-contrast
Side-by-side comparison of Rust crates
49
wcag-contrast
experimentalv0.1.1
Compute WCAG 2 color contrast ratios and AA/AAA pass levels from hex or RGB colors. Focused, zero-dependency accessibility helper.
46
perceive-color
experimentalv0.1.0
WCAG contrast, APCA, OKLCH, and accessible palette generation
46
use-contrast
experimentalv0.0.1
Primitive contrast-ratio helpers
Core Metrics
| wcag-contrast | perceive-color | use-contrast | |
|---|---|---|---|
| Health Score | 49 | 46 | 46 |
| Total Downloads | 43 | 26.7K | 178 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 4 | 1 |
| Releases | 2 | 1 | 1 |
| Last Updated | 109d ago | 206d ago | 146d ago |
| Age | 3m | 6m | 4m |
Health Breakdown
wcag-contrast
Maintenance
11
Quality
15
Community
6
Popularity
2
Documentation
15
perceive-color
Maintenance
5
Quality
16
Community
8
Popularity
5
Documentation
12
use-contrast
Maintenance
6
Quality
15
Community
7
Popularity
3
Documentation
15
Technical Details
| wcag-contrast | perceive-color | use-contrast | |
|---|---|---|---|
| Version | 0.1.1 | 0.1.0 | 0.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 3 | 0 |
| Crate Size | 10KB | 20KB | 2KB |
| Features | 0 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | 1.81 | 1.85 | 1.95.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •wcag-contrast leads with a health score of 49/100, but none of the options score above 80.
- •perceive-color has the most downloads (26.7K), suggesting wider adoption.