WCAG Contrast Checker

Enter your text and background colors to instantly check contrast ratio and WCAG 2.x accessibility compliance.

Supports HEX input with live preview, AA/AAA compliance check, and color improvement suggestions.

Preview
Normal text — a sample paragraph at regular size (16px)
Large text — a heading sample (24px)
Bold large text — a subheading sample (18.67px bold)
Contrast Ratio
:1
1:1 3:1 4.5:1 7:1 21:1
WCAG 2.x Compliance
Level Normal Text Large Text
WCAG AA
Normal 4.5:1 / Large 3:1
WCAG AAA
Normal 7:1 / Large 4.5:1
Normal text: < 18pt or < 14pt bold (approx. < 24px or < 18.67px bold)
Large text: ≥ 18pt or ≥ 14pt bold (approx. ≥ 24px or ≥ 18.67px bold)
Color Improvement Suggestions
Design Tips
Insufficient contrast makes text hard to read for users with low vision and on screens in bright light. Aim for at least 4.5:1 for body text.
Large text (≥ 18pt or bold ≥ 14pt) has a lower threshold of 3:1 because larger characters are inherently easier to read.
WCAG AAA is the strictest standard. Aim for 7:1 or higher on important body text and detailed descriptions for maximum accessibility.
  1. Enter text color in HEX (for example, #333333).
  2. Enter background color in HEX (for example, #FFFFFF).
  3. Contrast ratio and WCAG 2.x AA/AAA compliance update instantly.
  4. Review the suggested colors and click to apply improved options.

Tip:For body text, aim for at least 4.5:1 (AA). For important content, aim for 7:1 (AAA).

When would I use this?

  • When designing websites, slides, dashboards, or app screens and you want to confirm text is readable against its background.
  • When your brand or UI colors are already chosen, but you still need to verify whether they meet accessibility targets.
  • When handing off a design or front-end build and you want to catch low-contrast text before release.

Why do people keep mentioning 4.5:1 and 7:1?

4.5:1 is the common WCAG AA threshold for normal text, while 7:1 is the stricter AAA target. These numbers describe how much brightness difference exists between foreground and background. In general, a higher ratio is easier to read.

Why are large text and normal text judged differently?

Larger or bolder text is easier to recognise, so WCAG allows a lower contrast threshold for large text. That said, important content still benefits from stronger contrast whenever possible.

Is meeting AA always enough?

AA is a practical baseline for most products, but it is not the ceiling. If your interface is dense, used in difficult viewing conditions, or serves more low-vision users, aiming for AAA is safer.

Can I use the suggested colors as-is?

Usually yes as a starting point, but you should still review them in the real interface. Check brand fit, visual hierarchy, and states such as hover, disabled, and dark mode before treating them as final.

Does a good ratio guarantee good readability?

Not completely. Contrast ratio is a strong baseline, but font weight, size, spacing, textured backgrounds, and actual screen conditions also affect readability. Use the ratio together with visual review.

You Might Also Need