How to check colour contrast for accessibility (WCAG)

Low-contrast text is hard to read for many people. Colour contrast checker gives the ratio and pass or fail.

Steps

  1. Pick the text colour.
  2. Pick the background colour.
  3. Read the contrast ratio and the pass or fail rows.

Use cases

  • Checking a brand colour before using it for text.
  • Accessibility audits.
  • Choosing button and link colours.

Tips

  • WCAG AA needs 4.5:1 for normal text and 3:1 for large text (24px, or 19px bold).
  • AAA needs 7:1 and 4.5:1.
  • Icons and form borders need 3:1.
  • Get exact values with the Colour converter.

All guides

↑ ↓ navigateEnter openEsc close