🎨 Free Color Contrast Checker — WCAG AA/AAA Compliance

Instantly check if your text and background colors meet accessibility standards. No ads. No signup. Free forever.

🚀 Open Contrast Checker →

Color contrast is one of the most overlooked aspects of web accessibility — and one of the easiest to fix. Whether you're a designer choosing brand colors or a developer building a UI component, this free tool tells you instantly if your color combination meets WCAG 2.1 standards.

🔍 Check Your Colors Now

Enter any two hex colors and get instant contrast ratio + pass/fail results for AA and AAA.

Open Contrast Checker →

What Is Color Contrast and Why Does It Matter?

Color contrast is the difference in luminance between text and its background. Low contrast makes text hard to read — especially for people with visual impairments, color blindness, or anyone viewing your site in bright sunlight.

WCAG (Web Content Accessibility Guidelines) 2.1 defines minimum contrast thresholds:

Level Normal Text Large Text Requirement
AA ≥ 4.5:1 ≥ 3:1 Minimum for accessibility compliance
AAA ≥ 7:1 ≥ 4.5:1 Enhanced accessibility

Large text = 18px+ regular weight or 14px+ bold.

How the Contrast Checker Works

Our tool uses the official WCAG 2.1 relative luminance formula:

  1. Extract RGB values from your hex colors (e.g., #2563eb → R:37, G:99, B:235)
  2. Linearize each channel using the sRGB gamma correction: if R/255 ≤ 0.04045, use R/12.92; otherwise ((R/255 + 0.055) / 1.055)^2.4
  3. Calculate luminance: L = 0.2126 × R + 0.7152 × G + 0.0722 × B
  4. Compute ratio: (Lighter + 0.05) / (Darker + 0.05)
  5. Check against thresholds for AA and AAA at both normal and large text sizes

Common Color Contrast Mistakes

❌ Light Gray on White

This text is hard to read. #999 on #fff = 2.85:1 (fails AA)

❌ Dark Gray on Black

This is nearly invisible. #555 on #000 = 3.53:1 (fails AA)

❌ Blue Links on Dark

Blue text on dark backgrounds often fails. #2563eb on #1a1a2e = 3.84:1 (fails AA normal)

✅ Dark on Light

#333 on #fff = 12.63:1 (passes AAA with ease)

Quick Fixes for Low Contrast

FAQ

Is this contrast checker really free?

Yes. No limits, no ads, no signup, no credit card. Check as many color combinations as you want. Part of the MailCheck free developer tools suite.

Which WCAG version does this follow?

WCAG 2.1, which extends 2.0 with additional mobile and low-vision criteria. The contrast ratio formula is identical across 2.0 and 2.1. WCAG 2.2 (Oct 2023) also uses the same contrast thresholds.

What counts as "large text"?

Large text = at least 18 point (24px) regular weight, or at least 14 point (18.67px) bold. These sizes use lower contrast thresholds because larger text is inherently more readable.

Can I check colors from an image?

Use any color picker browser extension or screenshot tool to grab hex values, then paste them into our checker. We plan to add an image upload feature in the future.

Do gradients count?

For text over gradients, check the worst-case point — where contrast is lowest. Our tool checks flat colors only. For gradients, test the lightest background point against your text color.

🔗 Related Tools

🎨 Contrast Checker 🔍 SEO Analyzer 🔒 SSL Checker 📋 Bulk Checker 📡 HTTP Status

🎨 Check Your Colors Now

Enter any two hex colors and get WCAG AA/AAA results instantly. Free, no signup.

Open Contrast Checker →
⚡ For developers

🚀 Developer API Pro

Bulk SEO checks, API access, and programmatic audits for your entire site. 1000 requests/month.

Get API Access — €9/mo →
🔒 SSL Secured 🛡️ No-Log Policy 🛠️ 53 Free Tools 👥 1,300+ Daily Users ₿ Crypto-Native