Color Contrast Checker
Check whether a pair of opaque HEX colors meets WCAG contrast thresholds for normal text, large text and interface components. Preview the colors and copy a report for your design review.
Large text means at least 24 CSS px, or about 18.67 CSS px when bold. Gradients, transparent overlays and background images need separate testing. This checks color contrast, not full accessibility compliance. WCAG contrast guidance.
Contrast results
7.578:1
Preview your heading
The quick brown fox jumps over the lazy dog. Check labels, body copy and navigation text.
- AA normal text (4.5:1)
- Pass
- AA large text (3:1)
- Pass
- AAA normal text (7:1)
- Pass
- AAA large text (4.5:1)
- Pass
- UI component contrast (3:1)
- Pass
UI contrast has additional context and exception rules; test components against their actual adjacent colors.
What this tool does
Compare opaque sRGB foreground and background contrast.
How to use it
Enter the two HEX colors, select the relevant text size and compare the unrounded pass/fail result.
Worked example
#000000 on #FFFFFF has contrast 21:1 and passes the displayed AA and AAA text thresholds.
Limitations and checks
Transparency, gradients, focus states and other accessibility requirements need separate checks. A passing pair does not certify the page.
How your data is processed
The operation runs in your browser. Copy and download actions use your device. Where Save work is offered, a local copy is stored; eligible work can sync only under your enabled account settings. See Privacy for site analytics and storage details.
Privacy and storage details · Report an incorrect result · Browse tools