Free Tools / WCAG Color Contrast Checker

Free WCAG Color Contrast Checker & Live Website Palette Auditor

Measure exact WCAG 2.1 luminance contrast ratios for text, buttons, and UI borders, generate the closest passing brand hex, and extract live CSS palettes from any public website.

Technical scope: Luminance calculations test WCAG 2.1 AA and AAA contrast ratios for technical diagnostics and are not a legal compliance opinion.

WCAG 2.1 Contrast Ratio
6.00 : 1
AA
Normal Text AA PASS
Min 4.5:1
Normal Text AAA FAIL
Min 7.0:1
Large Text AA PASS
Min 3.0:1 (18pt+)
Large Text AAA PASS
Min 4.5:1 (18pt+)
UI Components & Borders AA PASS
Min 3.0:1 (inputs, icons, focus rings)
Live UI Component Preview #1652F0 on #FFFFFF

Clear visual hierarchy converts visitors

Standard 15px body copy needs at least a 4.5:1 contrast ratio under WCAG 2.1 AA so headlines, pricing details, and calls to action remain legible on every screen.

Primary CTA Button Secondary Action
Email input border & placeholder preview

Auto-Fix: Closest Accessible Hex

Preserves your brand hue and saturation while adjusting lightness to hit WCAG 2.1 targets.

Hue-Preserving
Nearest AAA (Foreground)
#0E47DE (7.06:1)
:root {
  --text-color: #1652F0;
  --bg-color: #FFFFFF;
}

Audit Colors from Any Live Website

Fetch a public homepage and up to 2 same-origin stylesheets over HTTPS to extract the top 10 recurring hex and RGB tokens, score each against white (#FFFFFF) and dark slate (#111318), and get 1-click AA replacements.

Run a Free 60-Second Site Audit & Redesigned Preview

Want us to fix low-contrast typography, slow scripts, and mobile layout bottlenecks across your live site? Get a free full technical scorecard and interactive redesigned homepage preview. Flat-rate upgrades start at $149 (Fix Kit) or $349 (5-Page Redesign), delivered in 24 hours with a 14-day 100% refund.

Technical WCAG Contrast FAQ

What is the difference between WCAG 2.1 AA and AAA contrast ratios?

WCAG 2.1 Level AA requires a contrast ratio of at least 4.5:1 for normal body text and 3.0:1 for large text (18pt regular or 14pt bold) and UI component boundaries. Level AAA raises those thresholds to 7.0:1 for normal text and 4.5:1 for large text.

How is the WCAG 2.1 contrast ratio calculated?

Each 8-bit sRGB channel is linearized and weighted by human brightness perception (L = 0.2126*R + 0.7152*G + 0.0722*B). The contrast ratio is then computed as (L1 + 0.05) / (L2 + 0.05) where L1 is the lighter color's relative luminance and L2 is the darker color's relative luminance.

How does Auto-Fix preserve my brand color?

Instead of switching your brand color to generic black or gray, our Auto-Fix algorithm converts the color to HSL, locks your exact hue and saturation, and binary-searches the smallest lightness shift needed to reach 4.55:1 (AA) or 7.05:1 (AAA).

What does the Live Website Palette Auditor inspect?

It fetches your public homepage over HTTPS along with up to 2 same-origin stylesheets, extracts recurring hex and RGB tokens from style blocks and CSS files, ranks the top 10 unique colors, and checks each color against white (#FFFFFF) and dark slate (#111318). These checks are technical luminance diagnostics only.