Skip to content
HB HitBidder.com
Colors & Design

Contrast Checker

Test text and background contrast against WCAG AA and AAA levels.

Free No signup Runs in your browser
Tool workspace

Contrast Checker

Ready to use

Check text contrast

Compare a foreground and background against WCAG AA and AAA.

21.00:1
Contrast ratio
Passes AA for normal text.
AA · Normal text Minimum 4.5:1
Pass
AA · Large text Minimum 3:1
Pass
AAA · Normal text Minimum 7:1
Pass
AAA · Large text Minimum 4.5:1
Pass

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

  1. Choose the text colour and background colour with the pickers or by typing HEX values.
  2. Read the ratio and the four AA/AAA results.
  3. 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

It is the ratio between the relative luminance of the lighter and darker colours, from 1:1 (identical) to 21:1 (black on white). WCAG thresholds are defined on this ratio.

WCAG AA requires 4.5:1 for normal text and 3:1 for large text. AAA requires 7:1 for normal text and 4.5:1 for large text.

For WCAG, large text is at least 18pt (24px) regular or 14pt (about 18.66px) bold. The large-text checks use the lower thresholds.

No. This tool checks text against its background. Non-text UI components and graphical objects have separate WCAG requirements (3:1) that this checker does not evaluate.

The displayed ratio is rounded to two decimals, while the pass/fail comparison uses the unrounded value. A displayed 4.50:1 therefore passes the 4.5 threshold only if the exact ratio is at least 4.5.

No. Contrast calculations run entirely in your browser. Nothing is sent to HitBidder or stored.
Beyond the toolbox

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.