siege-media/contrast-ratio
A tool to calculate the contrast ratio between any two valid CSS colors. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5072
- days_rel: n/a
- days_push: 847
- n_releases_24m: 0
Adoption not part of the score
2437 stars · 210 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A web-based tool that calculates the WCAG contrast ratio between two CSS colors to check text readability compliance. Originally created by Lea Verou and now maintained by Siege Media as the basis for their hosted contrast ratio checker.
Use cases
- check if my text and background colors pass WCAG AA contrast
- calculate contrast ratio between two hex colors
- find accessible color combinations for website text
- verify color contrast for Lighthouse accessibility audit
- test contrast ratio for large vs normal text
- check semi-transparent background color contrast
When to choose
- you need a quick visual checker for WCAG color contrast compliance
- you want to test arbitrary CSS color formats including alpha transparency
- you need a free browser-based tool without installation
When to avoid
- you need automated accessibility scanning of a whole website
- you need programmatic contrast calculation in your build pipeline
- you need to audit contrast beyond color pairs (e.g., full page audits)
Facets
application · maturity maintenance
accessibility ui-components accessibility web-design frontend browser wcag color-contrast css-colors checker-tool color web
3 sources
- readme: https://github.com/siege-media/contrast-ratio · fetched 2026-08-28 · 44a77c2a1086
- homepage: https://www.siegemedia.com/contrast-ratio · fetched 2026-08-29 · 37fea6ee50d7
- site_page: https://www.siegemedia.com/about · fetched 2026-08-29 · 2d385d48685b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| siege-media/contrast-ratio | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="siege-media/contrast-ratio")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem