Decision Workspace
use-contrast vs wcag-contrast vs perceive-color
Side-by-side comparison of Rust crates
46
use-contrast
experimentalv0.0.1
Primitive contrast-ratio helpers
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
Core Metrics
| use-contrast | wcag-contrast | perceive-color | |
|---|---|---|---|
| Health Score | 46 | 49 | 46 |
| Total Downloads | 178 | 43 | 26.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 0 | 4 |
| Releases | 1 | 2 | 1 |
| Last Updated | 146d ago | 109d ago | 206d ago |
| Age | 4m | 3m | 6m |
Health Breakdown
use-contrast
Maintenance
6
Quality
15
Community
7
Popularity
3
Documentation
15
wcag-contrast
Maintenance
11
Quality
15
Community
6
Popularity
2
Documentation
15
perceive-color
Maintenance
5
Quality
16
Community
8
Popularity
5
Documentation
12
Technical Details
| use-contrast | wcag-contrast | perceive-color | |
|---|---|---|---|
| Version | 0.0.1 | 0.1.1 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 0 | 3 |
| Crate Size | 2KB | 10KB | 20KB |
| Features | 0 | 0 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.95.0 | 1.81 | 1.85 |
| 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.