Color Contrast Checker
Check the WCAG contrast ratio between text and background colours, with AA and AAA results.
Enter your values
Result
Contrast ratio
13.98 : 1
Excellent
- AA normal text (4.5:1)
- ✅ Pass
- AA large text (3:1)
- ✅ Pass
- AAA normal text (7:1)
- ✅ Pass
- AAA large text (4.5:1)
- ✅ Pass
- UI components & icons (3:1)
- ✅ Pass
Contrast ratio = (L1 + 0.05) / (L2 + 0.05), where L1 and L2 are the relative luminance of the lighter and darker colour (WCAG 2.x). Large text means at least 24px, or 18.66px bold.
Live preview
How to use Color Contrast Checker
- Enter text colour and background colour.
- The result updates instantly as you type, with no button to press.
- Read the formula box to see how it was calculated, then copy the result.
Features
- Instant results
- Results update as you type, with no Calculate button and no page reload.
- Formula explained
- See exactly how the answer is worked out, so you can check it or learn the method.
- Private & free
- Everything runs in your browser. Nothing you enter is uploaded or stored.
Frequently asked questions
What contrast ratio do I need?
WCAG AA needs at least 4.5:1 for normal text and 3:1 for large text. AAA needs 7:1 for normal text and 4.5:1 for large text.
What counts as large text?
Text that is at least 24px (18pt) regular, or at least 18.66px (14pt) bold.
How does the Color Contrast Checker work?
It uses this method: Contrast ratio = (L1 + 0.05) / (L2 + 0.05), where L1 and L2 are the relative luminance of the lighter and darker colour (WCAG 2.x). Large text means at least 24px, or 18.66px bold.
Is this Color Contrast Checker free?
Yes. It is 100% free, needs no sign-up and works on mobile and desktop. Your numbers never leave your device.
Free, no sign-up. Your files and numbers are processed in your browser and are not uploaded.