Contrast Checker
Check the WCAG 2.1 contrast ratio between foreground and background colours — pass/fail for AA and AAA at a glance.
More Color Tools Tools
Preview
The quick brown fox jumps over the lazy dog.
This is how your text will look with these colours.
How to Use Contrast Checker
Set a foreground colour and a background colour — each with a hex text input and a native colour picker — and see the contrast ratio calculated live. The result is displayed with pass/fail indicators for WCAG AA normal text (minimum 4.5:1), AA large text (3:1), AAA normal text (7:1), and AAA large text (4.5:1). A sample-text preview shows you exactly how the colours look together, using the word "Preview" set in your chosen foreground and background.
About Contrast Checker
Details & Tips
Frequently Asked Questions
What is a contrast ratio?
How is the contrast ratio calculated?
What do AA and AAA mean?
What contrast ratio do I need for AA normal text?
What contrast ratio do I need for AA large text?
What does the visual preview show?
What happens if I use a colour with transparency?
Why is the green channel weighted more heavily than blue?
Is this tool compliant with WCAG 2.1?
What is the highest possible contrast ratio?
Can I type hex codes with or without the hash symbol?
Is my data sent to a server?
Part of These Collections
Also Available As
contrast checker, wcag contrast checker, color contrast checker, accessibility color checker, aa contrast, aaa contrast, contrast ratio calculator, web accessibility color
Explore More Tools
View all toolsFound a Problem?
Let us know if something with Contrast Checker isn't working as expected.
Thanks — we'll take a look.