Colour Contrast Checker
Measure the contrast ratio between text and background colours and see whether the combination passes WCAG 2.1 AA and AAA for normal and large text.
- Runs in your browser
- Accepts: HEX
- Produces: contrast ratio
- Free · No sign-up
Loading the tool…
How to use colour contrast checker
- Enter the text colour.
- Enter the background colour.
- Read the ratio and the pass/fail table.
Practical examples
Grey text on white
#777777 on white has a ratio of about 4.48:1, which fails AA for normal text (4.5:1 required) but passes for large text.
Limitations to know about
- Ratios use the WCAG 2.x relative luminance formula, which ignores font weight, antialiasing and rendering differences.
- WCAG 3 draft scoring is different and is not reported.
Privacy
This tool processes everything inside your browser. Nothing you paste or upload is transmitted to Roxie Tools or to any third party, and no copy of your input is stored. Closing the tab clears it.
See the privacy policy for how this site handles data.
Related tools
All design toolsVersion 1.0.0 · Last updated 2026-12-06 · Processing: local browser