Colour Contrast Checker for WCAG
Test the contrast ratio between text and background, and see whether it passes AA and AAA for normal and large text before you publish.
- Free, no sign-up
- Runs in your browser
- الصور والويب
Per WCAG: 4.5:1 for normal text and 3:1 for large text (18px, or 14px bold).
Why does contrast matter this much?
Contrast is the difference in brightness between text and background. When the gap is small, a young reader struggles, and anyone reading outdoors or with low vision gives up. That is why WCAG sets a clear minimum: 4.5:1 for normal text and 3:1 for large text — 18px or more, or 14px bold. Meeting those ratios is not a design nicety, it is a condition for your content to be reachable.
How to use the tool
- Pick the text colour from the first input, by picker or by typing the code.
- Pick the background colour the same way.
- Read the ratio in the middle: higher means clearer.
- Check the AA badge for normal and large text, and adjust one colour until the number improves.
Common design mistakes
- Using light grey for secondary text on white, the first thing to disappear when scaled down.
- Relying on colour alone to mark a link, with no underline or weight difference.
- Testing colours on one screen; displays differ in brightness and contrast.
- Forgetting dark mode, where colours invert and a good ratio disappears.
Frequently asked questions
Is 3:1 always enough?
Only for large text. Normal text needs at least 4.5:1, and 7:1 if you want AAA.
Does the tool slow the site?
No. The calculation runs instantly in your browser and adds no external files.
Is contrast enough for accessibility?
It is a core part, but accessibility also covers font sizes, line spacing, image alt text and keyboard navigation.