Contrast Checker
Check WCAG 2 contrast ratio for normal text, large text, and UI components with accessible color suggestions.
Large heading text
Large text is 18pt (24px) or 14pt (18.66px) bold.
Normal body text needs a contrast ratio of at least 4.5:1 for WCAG AA and 7:1 for AAA. This sentence is set at 14px to show how body copy reads.
- AA · normal text ≥ 4.5Fail
- AA · large text ≥ 3Pass
- AAA · normal text ≥ 7Fail
- AAA · large text ≥ 4.5Fail
- UI components & graphics ≥ 3Pass
Runs in this browser. Nothing is uploaded.
How to use Contrast Checker
Set Text color and Background color using the color pickers or hex inputs, or click Swap to reverse foreground and background.
Inspect the live heading, body, button, and caption preview alongside the exact WCAG 2 contrast ratio.
Check the five Pass/Fail badges (AA normal, AA large, AAA normal, AAA large, UI components) and apply the closest accessible AA/AAA text suggestion if needed.
Frequently asked questions
What ratio is needed for WCAG AA vs AAA?
WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text or UI graphics. WCAG AAA raises those thresholds to 7:1 for normal text and 4.5:1 for large text.
Why are suggestions hidden for #000000 on #FFFFFF?
At 21.00:1, the contrast pair already exceeds both AA and AAA thresholds, so no adjustment is needed.