Contrast checker.
Enter your text and background colours to check their contrast against WCAG 2.2.
By using this tool, you agree to the public tool terms.
Your colours
Enter a HEX value or use the colour picker.
Contrast ratio 14.52:1
WCAG thresholds are checked against the exact result, without rounding.
Sample palettes
YOUR COLOUR PAIR Good creative
Good creative
starts with readability.
Use this paragraph to judge body text against the background you chose.
Normal textLevel AA · minimum 4.5:1 Pass
Large textLevel AA · minimum 3:1 Pass
Normal textLevel AAA · minimum 7:1 Pass
Large textLevel AAA · minimum 4.5:1 Pass
Contrast is one step towards accessibility.
Large text means at least 24 px (or 19 px and above when bold). The calculator checks two solid colours — if text sits over a photo, video or gradient, check the lightest and darkest spots behind the copy.
Thresholds and formula: W3C — AA contrast and AAA contrast.