Text and background contrast checker
Choose a text colour and its background. Check the contrast ratio and see whether the pair meets the threshold for ordinary text or large headings.
Enter three or six hex digits, such as #ABC or #AABBCC, or use the colour picker.
Contrast result
17.92:1
- Normal text
- Meets the minimum
- Large text
- Meets the minimum
How to read the result
WCAG 2.2 AA requires at least 4.5 to 1 for normal text and 3 to 1 for large text. Large text means at least 24 CSS pixels, or about 19 CSS pixels in bold.
This reading is for two solid colours. Test the colours as they appear in the design, including where text sits over an image or gradient.
W3C minimum text contrast criterion