Contrast checker
This free tool opens one page of your website and finds text that is hard to read against its background, using the WCAG AA rule: at least 4.5 to 1 for normal text and 3 to 1 for large text. The text is marked on a picture of the page. No sign-up needed.
How it works
- You paste the address of one page.
- A real Chrome browser opens it at laptop width and waits for it to settle.
- The open-source axe engine measures the contrast of every piece of text against the colour behind it.
- You get the rule, how many places break it, and a coral box around the first one on the picture.
What it checks
- Normal text with a contrast below 4.5 to 1.
- Large text (about 24 px, or 19 px bold) with a contrast below 3 to 1.
What it does not check
- Text over a photo or a gradient. The tool cannot work out the colour behind it and leaves it out rather than guess.
- Text that only appears after a click, or in a colour mode the page switches to on its own.
- Other accessibility problems, such as missing labels. This tool is about contrast only.
Questions
What is a good colour contrast ratio?
The WCAG AA standard asks for at least 4.5 to 1 for normal text and 3 to 1 for large text. Black on white is 21 to 1.
Why does contrast matter?
Faint text is hard to read for people with weaker eyesight and for anyone on a phone in bright light. It is also part of accessibility rules that some countries expect sites to meet.
How do I fix text that is hard to read?
Make the text darker or the background lighter until the ratio is high enough. In Chrome DevTools, select the text, click its colour in the Styles panel and the picker shows the ratio.
Does it check dark mode?
It checks the page as it opens, in the browser’s default light setting. A page that has a separate dark theme is not checked in that theme.
How many checks can I run?
5 checks a day across all the free tools.
Other free tools
Read more
Check your whole site, not one page
Glitchmark opens your site in real browsers on phone, tablet and laptop, finds what is broken and explains each problem in plain English. Your first scan of one site is free, with part of the report.
Scan my site freeLast updated