WCAG 2.1 · Level A · Perceivable

WCAG 1.4.1 — Use of Color, explained with examples

Color must not be the only visual means of conveying information, indicating an action, or distinguishing a visual element. 8% of men and 0.5% of women have some form of color vision deficiency. Red-only error states are the most common offender.

Number
1.4.1
Level
A
Principle
Perceivable
Guideline
1.4 Distinguishable

Why this criterion exists

8% of men and 0.5% of women have some form of color vision deficiency. Red-only error states are the most common offender.

If you only remember one thing: color must not be the only visual means of conveying information, indicating an action, or distinguishing a visual element. Everything else on this page is detail.

Who feels it when this fails

Accessibility criteria sometimes feel abstract until you see who pays the cost when a site ignores them. Use of Color affects:

  • Color-blind users

  • Low-vision users

  • Users on monochrome printouts

How sites typically fail it

These are the patterns we see week after week. None are intentional — they are accidents of how teams build interfaces under deadline. Knowing the failure modes is the fastest path to writing them out of your component library.

  • Required-field markers in red only

  • Form errors only red border, no text

  • Chart series distinguished only by hue

How to test for it

  • View the page in greyscale; can you still understand all information?

Automated scanners catch this criterion most of the time, but never all of the time. Manual testing with the keyboard and a screen reader closes the gap.

A code fix you can copy

Combine color with text or icon so the message remains clear without color perception.

The problem

HTML
<input type="text" style="border-color: red">

The fix

HTML
<input type="text" aria-invalid="true" aria-describedby="err">
<p id="err" class="text-red-700">⚠ Email is required.</p>

Combine color with text or icon so the message remains clear without color perception.

Other Perceivable criteria

Find every accessibility issue on your site in 60 seconds.

Free public scan. No card. AI-generated fixes for every issue we find.