About Color Contrast Checker
This page opens the colour tool's contrast checker on its own. Enter a text colour and a background colour (HEX or with the pickers) to see the WCAG 2 contrast ratio from 1:1 to 21:1, a live preview with large and normal text, and pass or fail for AA and AAA. Use Swap to try the reverse.
How to use Color Contrast Checker
- Enter the text colour.
- Enter the background colour.
- Read the ratio and the AA and AAA results.
Examples
Grey text on white
#767676 on white is 4.54:1, the lightest grey that passes AA for normal text.
Limitations
- WCAG 2 contrast doesn't account for font weight beyond the large-text rule.
Privacy
This tool processes everything locally in your browser tab. Your input is not uploaded to Utilhex or any third party, and it is discarded when you close or reload the page. Read the privacy policy for details.
Frequently asked questions
What ratio do I need?
At least 4.5:1 for normal text and 3:1 for large text to meet WCAG AA, the level most accessibility laws refer to.
Are my images uploaded?
No. Images are opened and processed in your browser on your own device. Nothing is uploaded, and the tool keeps working offline once the page has loaded.