🌐 English

Home › Guides

Designing for color blindness

People see color differently, and many cannot easily tell red from green. If you convey information with color alone, these users can miss important details. Here are the principles for designs that still read when the hues look alike.

Types of color vision deficiency

Color vision deficiency comes from differences in the cells of the eye that sense color. The most common type makes red and green hues hard to separate; it goes by names such as protanopia and deuteranopia and is more common in men. Difficulty with blue and yellow, or seeing almost no color, is much rarer. Remember, too, that a designer without color vision deficiency will not easily notice the problem. That is why you need the habit of checking against a list rather than asking whether it looks fine to you.

The key point is that these people usually do see color; certain pairs simply look alike. Red and green, green and brown, and blue and purple of similar lightness are the pairs that get confused most.

Never rely on color alone

The accessibility guidelines (WCAG) also say color must not be the only way to convey information. If an input error is shown only by a red border, or chart lines differ only in color, some users cannot tell them apart.

Use lightness differences

People who see two hues as similar generally still perceive differences in lightness. So two colors that must be told apart should differ clearly in lightness as well as hue. A red and a green of equal lightness are risky, but a dark red next to a light lime is easy to separate.

An easy test is to view the design in grayscale. If the two colors are distinguishable in black and white, they will be distinguishable for most users with color vision deficiency. You can also measure the contrast ratio between two colors in the contrast checker to get a number for the lightness gap; 3:1 or more is usually comfortable.

Safe color combinations

Instead of red and green, blue and orange is the most widely recommended pairing. The Okabe-Ito palette, proposed by researchers and widely used, is a set of eight colors designed to stay distinguishable under common types of color vision deficiency.

How to apply it

Start by listing every color that carries meaning: success, error, warning and any chart colors used to separate data. For each, check there is a second cue such as text, an icon or a pattern, and add one where it is missing.

Then measure the lightness gap between color pairs that must be distinguished using the contrast checker, and make one lighter or darker if they are too close. A grayscale view or a color-vision simulator gives a final check. This work also helps in other situations, such as screens in bright sunlight or documents printed in black and white.

Common mistakes

Even designers who care about color blindness miss a few things. Here are the typical cases; check them one by one when the design is finished. These measures are not only for a small group of users; they help everyone. Cues that do not depend on color keep information intact in dim rooms, in sunlight, on old screens and in black-and-white printouts, where color does not come through well.