Color Contrast Checker

Check WCAG AA and AAA contrast with live samples.

FREE - NO SIGN-UP - RUNS ON YOUR DEVICE

Runs locally in your browser

  • Liveresult
  • 0uploads
  • 1 tapto copy
  • Freeno account
In practice

What you can count on

  • 0uploads
    • Your input stays on this device
    • Nothing is sent for processing
  • Liveoutput
    • Results update in the working area
    • Change inputs and compare instantly
  • 1 tapto copy
    • Copy the result
    • No account or install needed
Specification

Color Contrast Checker at a glance

Input
Foreground and background colors.
Output
The ratio, and AA or AAA at two sizes
Method
WCAG relative luminance and contrast
Entering and previewing
Hex boxes; 16px and 24px sample
Price
Free
Where processing happens
On your device
How to

How to use Color Contrast Checker

  1. 1

    Set both colors

    Choose the text color and the background color you plan to pair.

  2. 2

    Check the ratio

    A sample block shows the pair at 16 and 24 pixels, with the ratio and Pass or Fail for four WCAG levels.

  3. 3

    Copy the verdicts

    One Copy result button takes the ratio and the four verdicts for your notes or review ticket.

Questions

Frequently asked questions

Does this work without uploading anything?

Yes. The tool processes your input inside the browser tab. Nothing is sent to a processing server or stored in an account.

Can I change the result before copying it?

Yes. Adjust any available control and the result updates. Copy it only when the output matches what you need.

Which browsers are supported?

Current versions of Chrome, Edge, Firefox and Safari support the browser features used here. Very old browsers may lack a required API.

Background

What the AA and AAA marks mean

WCAG asks for 4.5:1 on normal text and 3:1 on large text to pass AA, and 7:1 to pass AAA. Large means 24px, or 18.66px when bold.

  • Contrast is against the color actually behind the text, so check text on cards, buttons and images separately.
  • A ratio that passes still has to be readable. Thin weights are harder than the number alone suggests.

Full specification

Specification of the Color Contrast Checker tool
InputForeground and background colors.
OutputContrast ratio and AA or AAA results for two text sizes.
MethodWCAG relative luminance and contrast calculations.
Entering and previewingEach color has a hex box beside the picker for pasting a brand code. The sample draws 16px regular and 24px bold in your pair.
PriceFree. Supported by clearly labeled ads outside the working area.
Where processing happensIn your browser tab. Your input is never uploaded.
Next step

Keep going with the same files

All color tools: Color tools on SPOTTOOLS