Contrast Checker
ColorsNewPick foreground and background colors to get the exact contrast ratio with live preview. Shows WCAG AA and AAA pass/fail for normal and large text.
Frequently asked questions
What contrast ratio does WCAG AA require?
WCAG AA requires a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (18pt bold or 24pt regular and above). WCAG AAA raises these thresholds to 7:1 and 4.5:1 respectively.
How do I check if my text and background colors are accessible?
Pick a foreground and background color and the tool calculates the exact contrast ratio with a live preview of sample text. It then shows a clear pass or fail result for both WCAG AA and AAA, at normal and large text sizes.
Is this contrast checker accurate enough for accessibility audits?
Yes. It calculates contrast ratio using the standard WCAG relative luminance formula, the same method accessibility auditors and Section 508 reviews rely on, so the pass or fail results match official compliance checks.
Does the contrast checker work for dark mode color combinations?
Yes. Enter any foreground and background pair, light-on-dark or dark-on-light, and the ratio and pass or fail results are calculated the same way regardless of which color is lighter.