Contrast Checker

Test foreground/background pairs against WCAG AA & AAA — live.

100% private — no uploads Design & CSS ToolsFree & unlimited Read tutorial

See how it works

Watch a quick simulation of this tool in action — no file needed.

How to use Contrast Checker

Follow these steps — everything happens instantly in your browser.

  1. 1

    Step 1. Pick a foreground (text) color and a background color using the swatches or HEX inputs.

  2. 2

    Step 2. Read the live contrast ratio displayed at the top of the results panel.

  3. 3

    Step 3. Check the WCAG 2.1 results grid for AA and AAA pass/fail on normal and large text.

  4. 4

    Step 4. Hit the swap button to flip the two colors and re-test.

Why use this tool

Frequently asked questions

Everything you might want to know about contrast checker.