Contrast Checker

Contrast Checker calculates the WCAG contrast ratio between two colors (text/background) and shows whether they pass AA/AAA levels. It reports normal and large-text thresholds separately and suggests accessible color pairs.

Sample text preview
Contrast ratio18.88:1
AA · Normal textPassAA · Large textPass
AAA · Normal textPassAAA · Large textPass

How it works

  1. 1Pick a text color and a background color, or type their HEX codes.
  2. 2Read the calculated contrast ratio (e.g. 4.52:1).
  3. 3See the AA (4.5:1 normal text, 3:1 large text) and AAA (7:1 / 4.5:1) pass/fail results.
  4. 4If it fails, pick one of the suggested darker/lighter shades and try again.

Frequently asked questions

What's the difference between WCAG AA and AAA?+

AA is the minimum accessibility standard (4.5:1 for normal text); AAA is stricter (7:1) and recommended for users with lower visual acuity. Most legal regulations consider AA sufficient.

Why is the threshold lower for large text?+

Text above 18pt (or 14pt bold) is considered readable with less contrast, so WCAG allows a more relaxed 3:1 (AA) threshold for large text.

Does it hold up for color-blind users?+

The contrast ratio is based on luminance difference, independent of color perception, so it remains a valid indicator in most cases, including red-green color blindness.

Does the result only apply to text?+

No, it can also be used for buttons, icons and UI component contrast; WCAG 2.1's "Non-text Contrast" rule recommends a 3:1 threshold for such elements.

Embed on your site

Size
480 × 360px
<iframe
  src="https://toolsqube.com/en/color/contrast-checker/embed"
  width="480" height="360"
  style="border:0;border-radius:14px"
  title="Contrast Checker · ToolsQube"
  loading="lazy">
</iframe>

Want to go deeper on this topic: Color and Design Guide →

Command Palette

Search for a command to run…