Free scan

November 10, 2026

Use of color in accessibility: what WCAG 1.4.1 requires

In accessibility, the rule on use of color is simple: under WCAG Success Criterion 1.4.1 (Level A), color must not be the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element. In practice, a required field flagged only in red, a link that differs from surrounding text only by its hue, or a chart series identified by color alone is a problem. The fix is not to give up color but to back it up with another visible cue: text, an icon, a pattern, a number or, under certain conditions, a sufficient difference in lightness. Here is exactly what the W3C says, the most common cases, and the fixes to apply.

Use of color: what WCAG 1.4.1 actually says

The criterion text is short: color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element. The W3C's "Understanding 1.4.1" document sums up the goal in one line: color is not the only way of distinguishing information. What to do: use information in addition to color, such as shape or text, to convey meaning.

The W3C gives telling examples of the first three cases. Information conveyed by color differences: "required fields are red", "error is shown in red", "Mary's sales are in red, Tom's are in blue". Indicating an action: using color to show that a link will open in a new window or that a database entry has been updated successfully. Prompting a response: highlighting form fields to show that a required field was left blank.

The W3C stresses that the criterion should not in any way discourage the use of color on a page, or even color coding, as long as it is complemented by another visual indication.

Why color alone shuts some users out

The intent is that all sighted users can access information conveyed by color differences. Yet some people have difficulty perceiving color, and others use monochrome or limited-color displays. The W3C mentions in particular:

What the criterion covers, and what it does not

SC 1.4.1 addresses color perception specifically. It does not directly address the needs of assistive technology users: it targets sighted people who cannot distinguish some colors. How information reaches assistive technologies is covered by other criteria, including 1.1.1 Non-text Content, 1.3.1 Info and Relationships and 4.1.2 Name, Role, Value.

Beware the reverse reasoning: information conveyed by color can be correctly exposed to assistive technologies and still fail the criterion, because someone who cannot distinguish certain colors is not necessarily using any assistive technology. The criterion requires a visible alternative to color.

Nor does the criterion apply where color is not used to convey information, indicate an action, prompt a response or distinguish a visual element. The W3C's example: a link styled no differently from neighboring text does not fail, since there is no color differentiation, although that lack of styling could result in poor usability for anyone.

Visited links are an exception. The W3C lists several technical constraints: user agents restrict exposure of a link's visited state, for privacy reasons; only color can be changed through the :visited CSS pseudo-class; with color alone, the palette cannot deliver 3:1 contrast between links and text, 3:1 between visited and unvisited links, and 4.5:1 for all text at once; and authors cannot set a link's visited state. The W3C concludes that conveying visited status is not an author responsibility: distinguishing visited from unvisited links by color alone is not a failure, even below 3:1 between the two colors. Text links must still meet contrast minimums against the page background (SC 1.4.3).

Lightness difference: when it is enough and when it is not

The W3C notes contain a key nuance. If two colors differ not only in hue but also significantly in lightness, that counts as an additional visual distinction, provided the difference in relative luminance gives a contrast ratio of 3:1 or greater. The example: a light green and a dark red differ in both hue and lightness, so they pass if the contrast ratio is at least 3:1. Likewise, distinguishing content by inverting an element's foreground and background colors passes, assuming those colors have sufficient contrast.

However, if content relies on the user's ability to perceive or differentiate a particular color, an additional visual indicator is required regardless of contrast. The W3C example: knowing whether an outline is green for valid or red for invalid. Here the meaning lives in the hue itself, and contrast changes nothing.

Links, error fields, charts: typical failures and fixes

The W3C lists three common mistakes considered failures of the criterion. Next to each, we point to the W3C sufficient techniques that apply; the W3C itself groups them by situation (color of words or backgrounds, color within an image), not by failure.

A checklist for your pages

For every colored element in your interface, ask the question the criterion raises: does the color convey information, indicate an action, prompt a response or distinguish an element? If so, look for the other visible cue. Practical checks:

Test and monitor over time

Revisit these checks whenever your templates, forms or charts change. Conformly offers a free test of your pages and continuous monitoring. To go further, see the resources below.

Frequently asked questions

What is WCAG 1.4.1 use of color?

It is a Level A success criterion: color must not be the only visual means of conveying information, indicating an action, prompting a response or distinguishing a visual element. Add another cue, such as shape or text.

Is a link in a different color from the text accessible?

Not if color is the only thing identifying it: that is W3C failure F73. Add an additional visual cue or ensure a contrast ratio of at least 3:1 between the link and surrounding text. A link styled exactly like neighboring text does not fail this criterion, but that lack of differentiation can hurt usability.

Can I mark required fields in red?

Yes, as long as red is not the only cue: identifying required or error fields by color alone is failure F81. The W3C example pairs a red label with an icon, explained in the form instructions.

Is 3:1 contrast enough to meet WCAG 1.4.1?

A lightness difference giving at least 3:1 contrast counts as an additional visual distinction. But if meaning depends on a particular hue, such as green for valid and red for invalid, another visual indicator is still required regardless of contrast.

How do I make a chart accessible without relying on color?

Combine color and pattern, add labels or numbers, and make the information available in text. A chart that conveys information by color, whose instructions refer only to color and whose text alternative omits that information, matches failure F13.

Do visited link colors have to meet WCAG 1.4.1?

Distinguishing visited from unvisited links by color alone is not a failure, even below 3:1: the W3C considers that conveying visited status is not an author responsibility, due to technical constraints. Text links must still meet contrast minimums against the page background (SC 1.4.3).

Further reading on Conformly

Sources

This article relies on the official sources listed at the end of the page.