Free tool
Free Color Contrast Checker
This free color contrast checker tests two colors against WCAG AA and AAA. It runs in your browser, so nothing is sent anywhere.
This is how normal text looks.
Large text
Contrast ratio 7.00:1
- AA · normal text (4.5:1)
- AA · large text (3:1)
- AAA · normal text (7:1)
- AAA · large text (4.5:1)
- Icons, borders, focus (3:1)
Nearest text color that passes
for AA:
for AAA:
Runs in your browser. Nothing is sent. The colors stay in the address, so you can share the link.
What the five checks mean
AA normal text
Normal text needs a ratio of at least 4.5:1. This covers most body copy on a page.
AA large text
Large text needs 3:1. Large means at least 24px regular or about 18.7px bold (18pt or 14pt bold).
AAA
AAA is stricter: 7:1 for normal text and 4.5:1 for large text. Many sites target AA, but AAA helps more people.
Icons, borders and focus
Icons, input borders and focus rings need 3:1. This comes from WCAG 1.4.11.
The suggested fix
If a pair fails, the tool suggests the nearest text color of the same hue that passes. One suggestion for AA and one for AAA.
When two colors are not enough
Two colors do not tell the whole story. Text over photos, gradients and see-through panels needs a check of the real page; the page check estimates contrast from a screenshot.
Why contrast matters
People with low vision, older people and anyone in bright sunlight struggle to read low-contrast text.
Low contrast is one of the most common accessibility problems on websites.
How to use it
- Pick a text color and a background color with the pickers, or type hex or rgb() values.
- Look at the contrast ratio and the five pass/fail checks for AA, AAA and interface parts.
- If a pair fails, use the suggested text color and share the result via the page address.
Check contrast on your real pages every night
Doorwide Lite checks contrast on your key pages every night, on desktop and phone, and emails you when something new breaks. Try it free for 14 days, no card needed.
Questions
How does this color contrast checker work?
You pick two colors and it calculates the WCAG contrast ratio. It checks AA and AAA for normal and large text, and the 3:1 ratio for icons, borders and focus rings. If the pair fails, it suggests the nearest text color that passes. The tool runs in your browser and sends nothing.
What is the minimum contrast ratio for text?
For AA, normal text needs 4.5:1 and large text needs 3:1. For AAA, normal text needs 7:1 and large text needs 4.5:1. Large text means at least 24px regular or about 18.7px bold.
What counts as large text?
Large text means at least 24px regular or about 18.7px bold. That is 18pt regular or 14pt bold.
Does a passing ratio mean the page is accessible?
No. Contrast is one of many checks. A page can still have issues with states, hover, text on images, or keyboard navigation. Use a fuller accessibility check to test the real page.