WCAG Contrast Checker
Suggestions update live. Lock a color to constrain fixes.
0.75rem
below 3:1fail
3:1 – 4.5:1AA large text only
4.5:1 – 7:1AA normal text
7:1+AAA
Current combination already passes AA. No fixes needed.
About WCAG Contrast Requirements
The rationale
- Low contrast is one of the most common accessibility failures — it affects users with low vision, color blindness, and anyone reading in bright light or on a low-quality screen.
- WCAG contrast requirements exist so that text remains distinguishable from its background without relying on color alone.
- The spec uses a relative luminance formula (not just visual darkness) to calculate perceived contrast between two colors.
- Contrast ratios range from 1:1 (no difference) to 21:1 (black on white). Most real-world UI lives in the 3–8 range.
- Bold and large text get lower thresholds because size and weight improve legibility even at lower contrast.
Key thresholds
- 3:1 — minimum for large text (18pt / 14pt bold) at WCAG AA
- 4.5:1 — minimum for normal text at WCAG AA
- 4.5:1 — minimum for large text at WCAG AAA
- 7:1 — minimum for normal text at WCAG AAA
- Large text = 18pt (24px) normal weight, or 14pt (~18.67px) bold and above
- WCAG has no minimum font size — below 12px is widely considered illegible regardless of contrast ratio