Color Contrast Checker

Check text/background color combinations against WCAG 2.1 AA and AAA standards. Built-in color picker, accessible color suggestions, and live preview — 100% client-side.

Preview
Background
Text
Foreground (Text) Color
H
S
L
HEX
#
RGB
R
G
B
Uses browser EyeDropper API (Chromium only)
Background Color
HEX
#
RGB
R
G
B
Color History
Pick colors to build history
Contrast Ratio
0.00:1
WCAG contrast
WCAG 2.1 Compliance
AA — Normal Text
0:1
Min 4.5:1 required
AA — Large Text
0:1
Min 3:1 required
AAA — Normal Text
0:1
Min 7:1 required
AAA — Large Text
0:1
Min 4.5:1 required
Text Preview
Normal Text 14px
The quick brown fox jumps over the lazy dog.
Bold text at 14px for emphasis.
Large text at 18px.
Bold 14px (large text threshold).
Button text
Suggested Accessible Alternatives
Enter colors to see accessible alternatives
Preset Accessible Combinations

Why use this color contrast checker?

Built for web developers, designers, and accessibility advocates who need to verify WCAG compliance fast.

Real-time checking

Contrast ratio and WCAG grades update instantly as you adjust colors. No submit button — just move the picker.

👽

WCAG 2.1 compliant

Full AA and AAA compliance matrix for normal text, large text, and UI components. All thresholds match the official spec.

🎨

Built-in color picker

Interactive HSL canvas color picker — no external dependencies, no browser extensions needed. Pick any color visually.

💡

Smart suggestions

When your current color fails, the tool suggests the nearest accessible alternatives that meet your chosen threshold.

📷

Live text preview

See exactly how your color pair looks at real font sizes — normal text, bold text, large text, and UI components.

🔒

100% private

All processing happens in your browser. Color values are never sent anywhere. Color history stays on your device only.

Need to format code?

Try our free JSON Formatter & Validator — instant formatting, syntax highlighting, and error detection.

JSON Formatter →

More free tools