Colour contrast checker
Pick a text colour and a background. See the contrast ratio, whether it passes the accessibility rules, and the nearest colour that does.
Large text reads like this.
Normal text reads like this. If it is hard work here, it is hard work for your visitors too.
to 1
- AA normal text
- AA large text
- AAA normal text
- AAA large text
Type colours as six figure hex codes, for example #1A1A18.
What it checks
- The contrast ratio, from 1 to 21
- WCAG AA and AAA for normal and large text
- A live preview of your text
- The nearest text colour that passes
How it works
Contrast is worked out from how light each colour looks to the eye, using the formula in the WCAG accessibility guidelines. AA asks for 4.5 to 1 for normal text and 3 to 1 for large text; AAA asks for 7 and 4.5. Everything runs in your browser.
Questions
What contrast ratio do I need?
At least 4.5 to 1 for body text, and 3 to 1 for large text (about 24 pixels, or 19 pixels bold). That is the WCAG AA level most laws point to.
Does my brand colour have to pass?
Your brand colour can be anything; the text on it has to be readable. If a colour fails as text, use it for shapes and backgrounds instead.
Why does light grey text fail?
Grey on white can look fine on a bright screen but is hard to read in sunlight, on older screens and for anyone with weaker sight.
More free tools
Found something to fix? OOVERT fixes it.
We are the brand identity and web studio behind these tools. Brand, website and SEO, done properly in three weeks.