Skip to main content
Best Web Developer logo
Language and currency EN £ GBP

Language

Currency

Prices on this site are shown in the currency you choose.

Image Tools

WCAG Colour Contrast Checker

Check the contrast ratio between two hex colours against WCAG AA and AAA thresholds and get a suggested foreground colour.

  • Runs in your browser
  • Nothing uploaded

The tool

About this tool

WCAG Colour Contrast Checker

What this tool does

Compare two solid hex colours using the WCAG relative luminance formula. Check AA and AAA thresholds for normal and large text, then see a suggested foreground colour when AA fails.

How to use it

  1. Enter the foreground and background colours as three- or six-digit hex values.
  2. Read the reported contrast ratio and check the text size you use.
  3. If AA fails, test the suggested foreground colour in your design.

Limits

This check covers solid colours only. It does not evaluate transparency, gradients, imagery, text size, focus indicators or full accessibility.

Frequently asked questions

What is a colour contrast ratio?

It compares the relative luminance of a lighter and darker colour, on a scale from 1:1 to 21:1.

What ratio does WCAG AA require for text?

AA requires at least 4.5:1 for normal text and 3:1 for large text.

What ratio does AAA require for text?

AAA requires at least 7:1 for normal text and 4.5:1 for large text.

What counts as large text?

The WCAG thresholds are at least 18 point regular or 14 point bold, about 24 px and 18.7 px respectively.

How is the suggested colour chosen?

The tool adjusts the foreground toward black or white until the pair meets 4.5:1 against the selected background.

Does a passing ratio guarantee accessibility?

The result covers text colour contrast only. Test text size, states, keyboard interaction, zoom and other accessibility requirements separately.

Related free tools

Need a tool for your own website?

Explore ecommerce websites and our web design and development service.

Discuss your project

Last reviewed

How it compares

WCAG Colour Contrast Checker compared with TinyPNG Pro or Canva Pro
FeatureWCAG Colour Contrast CheckerFreeTinyPNG Pro or Canva Pro
PriceFree, no tiersTypically £6–£20 per month
Account requiredNo account, no emailSign-up and verification
Where your data goesStays in your browserUploaded to their servers
Usage limitsNo cap, no watermarkFree-tier caps, ads or watermarks
Works on mobileYes, mobile-first layoutVaries by product

Frequently asked questions

Is WCAG Colour Contrast Checker free to use?

Yes. WCAG Colour Contrast Checker is completely free, with no account, no download and no usage cap. It is published by Best Web Developer as part of a library of image tools, so you can open it, use it and close the tab without ever entering an email address or payment detail.

How do I use WCAG Colour Contrast Checker?

Open WCAG Colour Contrast Checker and it loads directly in the page. It is designed to check the contrast ratio between two hex colours against WCAG AA and AAA thresholds and get a suggested foreground colour. Enter your values or make your selections, and the result updates immediately; there is nothing to install and no account step in between.

Does WCAG Colour Contrast Checker store or share my data?

No. Everything you type into WCAG Colour Contrast Checker is processed in your own browser and stays on your device. Nothing is uploaded to our servers, nothing is written to a database, and nothing is sold or shared with advertisers. If you close the tab, the session is gone.

Does WCAG Colour Contrast Checker work on mobile phones and tablets?

Yes. WCAG Colour Contrast Checker is built mobile-first and adapts to any screen width, from a small phone to an ultrawide desktop. Controls are sized for touch, the layout never scrolls sideways, and every input can also be reached with a keyboard.

Is WCAG Colour Contrast Checker available in Arabic?

Yes. WCAG Colour Contrast Checker ships with an English and an Arabic interface, and you can switch language from the control inside the tool. Numbers and results are formatted for the language you choose, so the page is usable for both audiences without a separate URL.

Will WCAG Colour Contrast Checker reduce my image quality?

WCAG Colour Contrast Checker shows you the result before you keep it, so you decide the trade-off between file size and visible quality. For photographs a moderate setting is usually indistinguishable on screen, while logos and screenshots are best kept in a lossless format.

Which image formats does WCAG Colour Contrast Checker accept?

WCAG Colour Contrast Checker accepts the formats modern browsers can decode, including JPEG, PNG, WebP and GIF, and it can export to the compressed formats used by current websites. Images are handled on your device and are not uploaded anywhere.

Need this built for your own business?

Best Web Developer builds custom calculators, tools and AI workflows on your own domain, with your branding, your data and your integrations. Start with managed website plans.

Explore managed website plansTalk to a developer

Free strategy session

Let’s build something worth finding.

Tell us where you want the business to be in twelve months. We will come back with a costed plan, a realistic timeline, and the numbers we expect to move — no obligation, no jargon.

  • 30-minute call, no pitch deck
  • Fixed-price proposal in 48 hours
  • You own everything we build

Talk to a developer

Not a sales team

Response time
Within 1 business hour
Where we work
UK, USA & the Gulf
Contracts
No lock-in, monthly rolling
Working since
2023
infobestwebdeveloper.org
Free consultation

show prices in USD?

Video

Get a free quoteWe reply within 1 business hour