Loading WCAG Contrast Checker Workspace

Preparing privacy-first client-side engine and workspace modules...

Zero-Upload Architecture

Will Everyone Be Able to Read Your Text?

Pick a text colour and a background colour and get the exact contrast ratio, with pass/fail for AA and AAA at normal and large text sizes — plus a corrected colour when yours fails. Free, no account, and the maths runs entirely in your browser. Low contrast is on most of the web’s top pages; make yours one of the readable ones.

How the WCAG Contrast Checker Works

Check any two colours against WCAG AA and AAA free in your browser. Exact ratio, pass/fail and a fix if it fails — no upload, no account, nothing stored.

The WCAG Contrast Checker runs the exact WCAG relative-luminance formula entirely in your browser. Your colours are processed locally on your device — nothing is uploaded to a server, so there are no queues and no waiting for uploads.

  • Supported formats: HEX (#RGB, #RRGGBB) and RGB (rgb(r, g, b)) in; exact contrast ratio, AA/AAA verdicts and a corrected colour out.
  • Privacy-first: 100% in-browser processing. Your colours never leave your device.
  • No sign-up: Free to use — no account or email required.
  • Check a website palette before launch: Run every text-and-background pair in your design through the checker and fix the ones under 4.5:1 before users meet them.

How to Check Colour Contrast

Follow these straightforward steps to complete your task in seconds

1

Pick your text colour

Use the colour picker or type a hex code such as #1F2937, or an rgb value like rgb(31, 41, 55).

2

Pick your background colour

Choose the colour the text will sit on — a page background, a button, or a card.

3

Read the ratio and verdicts

The exact ratio appears instantly, with pass or fail for AA and AAA at normal and large text sizes.

4

Apply the fix if it fails

If the pair fails AA, take the suggested corrected colour — same hue, lightness adjusted — and check it again.

Verified Technical Specifications & Capabilities

Engineered for reliability, privacy, and high-speed execution

Supported Inputs
HEX (#RGB, #RRGGBB)RGB (rgb(r, g, b))
Export Output Formats
Contrast ratio (e.g. 4.54:1)AA / AAA pass-fail verdictsCorrected colour suggestion
Maximum File CapacityNo files — instant calculation from two colours
Processing ArchitectureWCAG relative-luminance formula, computed in-browser (no upload)
Privacy & Data IsolationYour colours never leave your device: the maths runs entirely in your browser.

Common Real-World Use Cases

How creators, developers, and businesses utilize this tool daily

Check a website palette before launch

Run every text-and-background pair in your design through the checker and fix the ones under 4.5:1 before users meet them.

Fix a failing audit finding

When an accessibility audit flags low contrast, paste the two colours in and take the suggested corrected colour straight back to the design.

Choose button and link colours

Test white or dark text on brand colours to find the combinations that pass AA at normal size, not just at large size.

Frequently Asked Questions

Real answers about privacy, performance, and supported workflows

What contrast ratio does my text need to pass WCAG AA?▼

Normal-sized text needs a contrast ratio of at least 4.5 to 1 against its background, while large text — 24 pixels or bigger, or 18.66 pixels and bold — needs at least 3 to 1. This checker shows both results instantly, so you can see whether your colours pass at every size before publishing.

What is the difference between WCAG AA and AAA?▼

AA is the standard most laws and guidelines require, with 4.5 to 1 for normal text and 3 to 1 for large text. AAA is stricter, demanding 7 to 1 for normal text and 4.5 to 1 for large text. AAA is the gold standard for maximum readability, but AA is the level most websites are expected to meet.

How does the checker suggest a corrected colour when mine fails?▼

When your pair fails AA at normal size, the tool keeps your text colour’s hue and saturation and nudges its lightness step by step away from the background until the ratio reaches 4.5 to 1. The first colour that passes is shown, so the fix stays as close as possible to your original brand colour.

Can I check colours written as RGB values, not just hex?▼

Yes. Type a colour as a six-digit or three-digit hex code, such as #2563EB or #FFF, or as an rgb value like rgb(37, 99, 235). The checker reads both formats and shows the matching hex and rgb values for each colour, with a copy button for the hex code.

Are my colours uploaded or stored anywhere?▼

No. The contrast ratio is pure arithmetic that runs entirely in your browser, using the exact WCAG relative-luminance formula. Your colours are never uploaded, sent to a server, or stored, and there is no account or sign-up. You can even disconnect from the internet after the page loads and the checker will still work.

What is APCA, and why isn’t it in this checker?▼

APCA is a newer contrast method proposed for WCAG 3 that measures perceived lightness differently from the current WCAG 2 formula. It is still a draft, not a finished standard, so this checker uses only the established WCAG 2 relative-luminance formula and the AA and AAA thresholds that laws and audits actually test against today.