Contrast Checker
Test text and background contrast against WCAG AA and AAA levels.
Contrast Checker
Large text preview
Normal body text with the selected colours. Use a pair that passes at the size you will actually ship.
Small supporting text, such as a source line or caption, needs the highest contrast.
The preview intentionally renders failing combinations so you can judge them. Ratios are rounded; thresholds use the exact value.
Contrast is a ratio, not a feeling
The HitBidder Contrast Checker calculates the WCAG contrast ratio between a text colour and its background. Pick both colours and the ratio, AA/AAA results and a live preview update immediately. The calculation runs in your browser.
How to use it
- Choose the text colour and background colour with the pickers or by typing HEX values.
- Read the ratio and the four AA/AAA results.
- Use Swap to test the inverse pair, or copy the report for your notes.
AA vs AAA thresholds
- AA normal text: at least 4.5:1.
- AA large text: at least 3:1.
- AAA normal text: at least 7:1.
- AAA large text: at least 4.5:1.
Ratios range from 1:1 for identical colours to 21:1 for black on white. The displayed value is rounded to two decimals; pass/fail uses the exact ratio.
What counts as large text
WCAG defines large text as at least 18pt (24px) regular or 14pt (about 18.66px) bold. A heading set at 24px qualifies for the lower large-text thresholds; body copy at 16px does not. Always judge at the size the text will actually ship.
What this checker does not cover
This tool checks text against a background. It does not evaluate non-text contrast for icons, borders, focus rings, charts or form controls (which have separate 3:1 guidance), and it cannot judge disabled-state exemptions or text over images and gradients. Check those in context.
Contrast checker FAQ
Tools get you ready. Real traffic gets you results.
HitBidder is a free 1:1 traffic exchange. Give a click, get a click, and send real visitors to the pages you just finished optimising.