Back to Tools
Contrast Checker
Check a single color pair against WCAG 2.2 AA and AAA thresholds with exact ratios, clear verdicts, and practical suggestions.
Contrast Checker
WCAG 2.2 • Exact ratios • AA / AAA • Suggestions • Share links
Color Pair
Use 3 or 6 hex digits, with or without #. Alpha is not supported; composite the color over its background first.
Live Preview
Body text
Contrast makes text readable.
Contrast ratio
21.00:1
Normal text AA pass
| Context | AA | AAA |
|---|---|---|
| Normal text 4.5:1 / 7:1 | — | — |
| Large text 3:1 / 4.5:1 | — | — |
| UI graphics 3:1 / not defined | — | N/A |
Just below the threshold. WCAG thresholds are strict floors.
WCAG 2.2 pair result only. Large text means at least 18 pt or 14 pt bold. A pass does not prove full page conformance and does not evaluate images, gradients, opacity, focus style, hover state, or other criteria.
Suggested fixes
Share & export
Quick pairs
Recent pairs
Saved in this browser only.
- Enter an opaque text color and background color using 3 or 6 hex digits, or use the color pickers.
- Use the swap button to check the reversed pair, then choose Normal text or Large text for the preview.
- Read the exact ratio and the AA/AAA verdicts for normal text, large text, and UI graphics.
- If the selected context fails, choose a suggested swatch to apply a nearest passing text color.
- Use Copy link to share the pair, or copy CSS, JSON, or plain-text export.
This tool checks one color pair only. It never uploads colors or adds accounts.