Brushless

Home › Tools › Contrast checker

Color contrast checker

This color contrast checker takes your whole palette and shows whether people can read text in those colors. We lay it out as a real page, flag what is hard to read, and suggest the smallest change that fixes it.

Your palette on a page

We give each color a job: your lightest becomes the page, the one that reads best becomes text, the most colorful becomes buttons and links.

See it:

Change which color does what
Only in the illustration: Extra

2 things are hard to read

Numbers match the marks on the page.

  • Small gray text: Small text on Page is 3.20:1. It needs 4.5:1.
  • Small text on the card: Small text on Card is 2.72:1. It needs 4.5:1.

Every pair, side by side

Each square is one color as text on another as background. Rows are backgrounds, columns are text.

14 of 30 pairs are easy to read as body text. Pick any square to see it large.

Text →
Easy to readHard to read (hatched)

What the numbers mean

Contrast is how different two colors look in brightness, written as a ratio. The same sentence below sits on the same background; only the contrast changes. Most text needs at least 4.5:1.

Your order ships on Monday.1.49:1Hard for anyone
Your order ships on Monday.2.21:1Hard for many people
Your order ships on Monday.3.01:1Big headings only
Your order ships on Monday.4.50:1Most text needs this
Your order ships on Monday.6.98:1Strict, best for long reading
Your order ships on Monday.13.97:1Plenty
The same sentence, the same background. Only the contrast changes.

Which level do you need?

It depends on what the color is doing. Body text needs the most contrast, big headings and icons need less, and some things need none at all.

  • Large heading. At least 24px, or 18.66px bold.3:1
  • Body text and small print. Paragraphs, labels, captions. Small text gets no exception.4.5:1
  • Input borders and icons. Anything people need to see to use the page (WCAG 1.4.11).3:1
  • Button label. Text on a button is still text.4.5:1
  • Disabled buttons and logos. WCAG 1.4.3 exempts inactive components, pure decoration and logotypes.none

For long reading, like articles and documentation, aim for 7:1 (AAA).

Three fixes that solve most problems

These come up on almost every site we check. Each one keeps the look of the brand.

Delivered on Tuesday. Track your parcel any time.2.47:1 before
Delivered on Tuesday. Track your parcel any time.5.73:1 after

Light gray text on white. Darken the gray until it reaches 4.5:1. It still reads as secondary text.

Add to cart2.51:1 before
Add to cart5.36:1 after

White text on a bright brand color. Use a deeper shade of the same color for buttons, or switch the label to dark text.

Summer in the hillshard to read
Summer in the hillsreadable

Text over a photo. Add a dark fade behind the words, or move the text off the image. A photo has no single contrast ratio, so check the lightest spot under the text.

How to check whether your colors are readable

  1. Bring your colorsImport them, or tap a color to change it.
  2. See them on a pageAnything hard to read gets a numbered mark.
  3. Take the fixWe suggest a fix and say why each color changed, or why one was left as it is.

Questions people ask

Short answers about contrast, WCAG and this checker.

The Web Content Accessibility Guidelines, published by the W3C. Level AA is the usual target: success criterion 1.4.3 asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text, and 1.4.11 asks for 3:1 for icons and the parts of a control that tell you what it is.

The math runs in your browser. Pasted colors and images you pick colors from never leave the page.

More free tools

All tools

One file is free. Four hundred, on brand, in every size, is what we do.