Free foreverNo sign-upRuns 100% in your browser

WCAG Color Contrast Checker

Enter foreground and background hex colors and get the exact contrast ratio plus pass/fail for AA and AAA.

Sample text AaBb123

Standards

Ratios follow WCAG 2.1 relative-luminance math. Large text means ≥18pt or ≥14pt bold. UI components need 3:1 under WCAG 2.1 non-text contrast.

Frequently asked questions

Short hex #fff?

Supported — expanded automatically.

RGBA input?

Blend onto a solid background first, then check.

Score boundaries?

4.5:1 is the AA bar for body text.