No sign-upFreeProcessed on your device

Colour Contrast Checker

Enter foreground and background colours to see contrast ratios and AA/AAA results for normal and large text.

Get started

Color Contrast Checker

WCAG 2.x contrast ratio; normal text AA 4.5:1, AAA 7:1, large text AA 3:1.

Color Contrast Checker — steps and download

Enter text and background HEX colors. Review the contrast ratio and thresholds for normal and large text, then download a summary of your color decision.

The colour contrast checker calculates the contrast ratio between a text colour and a background colour using the WCAG 2.x method. Enter both colours as HEX codes; the default pair is dark grey text on white.

The result is a ratio between 1:1 and 21:1 and whether it passes AA and AAA for normal and large text. A summary of the decision can be downloaded. Interface designers run the check while building a palette, developers while coding button and link colours, and brand teams when verifying that corporate colours stay readable on screen.

Ratio and thresholds

The relative luminance of each colour is calculated and the lighter one is divided by the darker one. Normal text needs 4.5:1 for AA and 7:1 for AAA; large text needs 3:1 for AA and 4.5:1 for AAA. Only the colour pair you enter is assessed. Font weight, real screen conditions, text over images or gradients, keyboard access and other accessibility requirements have to be reviewed separately.

Contrast ratio = (lighter luminance + 0.05) ÷ (darker luminance + 0.05)

When to use it.

  • 01While building a paletteDecide early which text shade is allowed on which surface in a new colour system and record it as a rule.
  • 02Button and link coloursSee whether white text on a brand-coloured button clears the AA threshold before it ships.
  • 03Muted helper textCheck that light grey placeholders, footnotes and disabled states are still readable against their background colour.

300+ brands, entrusted us with their growth.

All projects
  • Vakko
  • Sotheby's
  • Turkcell Superonline
  • İTÜ
  • The Purest Solutions
  • İstinye Park
  • Kanyon AVM
  • Skyland İstanbul
  • Wyndham Hotel
  • FT Lotus by Wyndham
  • Erikli
  • SolidWorks
  • ANSYS
  • Curbanoğlu
  • Big Baker
  • MOC Cafe
  • Mostafavi Saffron
  • Nef Arsa Projeleri
  • Dossha
  • Armada Yazılım
  • Venon Yazılım
  • Soul of Modesty
  • Turkish Voice of Canada
  • TVC Canada

Common mistakes when reading the result.

  • Overusing the large-text ruleA 3:1 ratio is enough only for large or bold large text, while body copy requires 4.5:1.
  • Measuring text on imagesCopy over a photo or gradient cannot be represented by one background colour, so test the lightest and darkest areas.
  • Equating contrast with accessibilityA passing ratio is not a full audit, since focus indicators, alt text and keyboard use are separate matters.

Frequently asked questions

Anything else? Write to us.

Which text thresholds are used?

Normal text uses 4.5:1 for AA and 7:1 for AAA; large text uses 3:1 and 4.5:1. The definition of large text is shown separately.

Is the contrast result a full accessibility audit?

No. It calculates the WCAG contrast ratio for a color pair. Font size, actual rendering, keyboard use and other accessibility requirements need separate review.

Are my files and input data uploaded?

Tool processing runs on your device; file and form contents are not sent to a server for processing. Loading the website still creates standard web requests. Using a contact link is a separate action.

Do I need an account or API key?

No account or API key is required for the tool. Use is free within the file, operation and device limits stated on the page.

The tool shows the way, let’s do the implementation together.

Share your site and goal; we send a written, fixed-scope roadmap within 24 hours.

Get a free analysisGet a free analysis

Tell us about you; one of our founders replies directly.

1 / 3