Color Contrast Checker
Pick a text color and a background color to see instantly whether they pass WCAG AA and AAA — free, private, no signup.
HEX, RGB, HSL or a color name. Transparency is blended over the background.
Transparent backgrounds are blended over white.
Contrast ratio
Large text sample
Normal body text at 16px. The quick brown fox jumps over the lazy dog, 0123456789.
Small print at 14px — check this one carefully.
WCAG Contrast Guide
What each level means and when it applies (WCAG 2.2).
AA — Normal Text
4.5 : 1The minimum for body copy, labels and anything under the large-text size. Required by most accessibility laws and policies.
AA — Large Text
3 : 1Relaxed minimum for large text: at least 24px regular, or 18.66px (14pt) bold.
AAA — Normal Text
7 : 1Enhanced contrast for body text. Aim for this on long-form reading and for audiences with low vision.
AAA — Large Text
4.5 : 1Enhanced contrast for large headings and display text.
UI Components & Graphics
3 : 1Borders of inputs and buttons, focus rings, icons and chart lines must reach 3:1 against what's next to them (1.4.11).
What's Exempt
logos · disabledLogotypes, decorative text, disabled controls and text that is part of a photo have no contrast requirement.
How It's Calculated
(L1 + 0.05) / (L2 + 0.05)L1 and L2 are the relative luminance of the lighter and darker colors. Ratios run from 1:1 (identical) to 21:1 (black on white).
No Rounding Up
4.49 : 1 = failThresholds are strict. A ratio of 4.499:1 does not meet AA, so this checker truncates rather than rounds.
Why ContrastCheck?
ContrastCheck is a fast, lightweight tool for web designers, graphic designers and developers who need to know a color pair is readable — and what to change when it isn't.
All processing happens entirely in your browser. Your colors never leave your device.