Free Online Color Contrast Checker
Check WCAG Color Contrast for Accessible Text
Need to use Color Contrast Checker right now?
Text that doesn't contrast enough against its background is difficult or impossible to read for people with low vision, color blindness, or simply anyone viewing a screen in bright sunlight — which is exactly why the Web Content Accessibility Guidelines (WCAG) define specific minimum contrast ratios that text and background color combinations need to meet.
14.68:1
contrast ratio
Features
- Runs entirely in your browser
- Privacy-first — your data is never uploaded
- Real-time, instant results
- 100% free, no sign-up required
- Works on desktop, tablet, and mobile
- No installation needed
Who uses this tool?
About Color Contrast Checker
Text that doesn't contrast enough against its background is difficult or impossible to read for people with low vision, color blindness, or simply anyone viewing a screen in bright sunlight — which is exactly why the Web Content Accessibility Guidelines (WCAG) define specific minimum contrast ratios that text and background color combinations need to meet.
This tool calculates the exact WCAG contrast ratio between any two colors, using the same relative luminance formula defined in the WCAG 2.x specification — a precise mathematical calculation based on each color's perceived brightness, not just a visual approximation.
The ratio is checked against four specific WCAG thresholds: AA level requires 4.5:1 for normal text and 3:1 for large text (defined as 18pt+ or 14pt+ bold); AAA level, a stricter standard, requires 7:1 for normal text and 4.5:1 for large text. Meeting AA is the widely accepted baseline for accessible web content; AAA is a higher bar many sites aim for but don't strictly require.
This is useful for verifying a color scheme meets accessibility requirements before shipping a design, checking whether a specific text/background combination is legible enough, or understanding why a design review flagged a contrast issue — genuinely important for real users, not just a compliance checkbox.
How it works
- Enter a text color and background color. Using the color pickers or by entering HEX values directly.
- View the exact contrast ratio. Plus a live preview showing the actual text/background combination.
- Check pass/fail against WCAG levels. AA and AAA, for both normal and large text sizes.
Examples
High contrast (passes all levels)
Input
Dark gray text (#1f2937) on white background (#ffffff)
Output
Contrast ratio: ~14.68:1 — passes AA and AAA for all text sizes
Borderline contrast
Input
Gray text (#767676) on white background (#ffffff)
Output
Contrast ratio: ~4.54:1 — passes AA normal text, fails AAA normal text