Skip to main content

Color Contrast Checker

Check if your text and background colors meet WCAG 2.1 accessibility standards. Get instant AA/AAA pass/fail and suggested fixes — all in your browser.

✓ 60K+ developers trust DevPlaybook ✓ WCAG 2.1 AA & AAA standards ✓ No sign-up required

Frequently Asked Questions

What is WCAG contrast ratio and why does it matter?▼

WCAG (Web Content Accessibility Guidelines) defines minimum contrast ratios between text and background colors to ensure legibility for people with low vision or color blindness. A ratio of 4.5:1 is required for normal text (AA), 3:1 for large text (AA), and 7:1 for the strictest AAA standard.

What is the difference between WCAG AA and AAA?▼

AA is the legal standard for most accessibility requirements (e.g., ADA, EN 301 549). It requires 4.5:1 contrast for normal text and 3:1 for large text (18pt+ or 14pt+ bold). AAA requires 7:1 for normal text and 4.5:1 for large text — used when maximum accessibility is the goal.

What counts as large text in WCAG?▼

Large text is defined as 18pt (24px) or larger for regular weight, or 14pt (approximately 18.67px) or larger for bold text. Large text has a lower contrast requirement (3:1 for AA) because it is inherently easier to read.

How do I fix a failing contrast ratio?▼

To increase contrast: darken your text color, lighten your background, or both. Even small adjustments (e.g., #777 to #595959) can move from failing to passing. This tool shows the ratio live as you adjust colors, so you can iterate until you pass.

Does contrast ratio apply to icons and UI components?▼

Yes. WCAG 1.4.11 (Non-text Contrast) requires a 3:1 ratio for UI components and informational graphics — such as icons, form inputs, focus indicators, and chart lines. Use this tool to check those as well, not just text.

Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

Enjoying this tool? Get more like it.

Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$9/mo after trial · Cancel anytime

Want the full toolkit?

Get DevPlaybook Pro

Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →