Skip to content

Color Contrast Checker

Check the WCAG 2.x contrast ratio between text and background colours with AA and AAA pass/fail results.

Runs in your browserTwo colours → Contrast report
Loading tool…

How to use the Color Contrast Checker

  1. Paste or type your Two colours into the input area, or open a file from your device.
  2. Adjust the options above the editor if the tool offers any.
  3. Review the Contrast report result, then copy it or download it as a file.

Privacy and limitations

  • Your data is processed on your device and is not uploaded to any server.

Frequently asked questions

What contrast ratio do I need?

WCAG AA needs 4.5:1 for normal text and 3:1 for large text (18pt, or 14pt bold) and UI components. AAA needs 7:1 and 4.5:1.

How are transparent text colours handled?

A translucent foreground is blended over the background before the ratio is calculated, as a browser would draw it.

Browse all color converters →