Mauricio Robles

Tool

Colour-blind-safe palette checker

Enter your hex colours and a background. See them as people with protanopia, deuteranopia, tritanopia and achromatopsia see them, and find the pairs that collapse into each other.

Tool

Start from

Colours
Background

Pairs closer than this are flagged. 10 is a common starting point.

How the palette looks

Pairs that are hard to tell apart: 0

As they appear on the background, numbered by colour

Normal vision

  • 1
  • 2
  • 3
  • 4

Protanopia

  • 1
  • 2
  • 3
  • 4

Deuteranopia

  • 1
  • 2
  • 3
  • 4

Tritanopia

  • 1
  • 2
  • 3
  • 4

Achromatopsia

  • 1
  • 2
  • 3
  • 4

Pair distances (ΔE)

Pair distances (ΔE): Deuteranopia
1234
189.194.296.6
2149.019.4
3144.1
4

! marks a pair closer than the threshold.

Contrast against the background
ColoursRatioText (4.5:1)Graphics (3:1)
Colour 1 #0f141216.52:1PassPass
Colour 2 #ff5a1f2.77:1FailFail
Colour 3 #2f6bff4.00:1FailPass
Colour 4 #cfd5561.40:1FailFail

Pairs that are hard to tell apart

Protanopia

No pairs under the threshold.

Deuteranopia

No pairs under the threshold.

Tritanopia

No pairs under the threshold.

Achromatopsia

No pairs under the threshold.

Simulation: Machado, Oliveira and Fernandes, 2009, full severity, on linear sRGB. Achromatopsia is Rec. 709 luminance. ΔE is CIE76.

How it works and assumptions

Enter two to eight hex colours and a background colour. The tool simulates four types of colour vision deficiency with the Machado, Oliveira and Fernandes (2009) model at full severity, measures the distance between every pair of colours as CIE76 ΔE, flags the pairs under your threshold (10 by default), and computes the WCAG contrast ratio of each colour against the background.

  • Simulations use the full-severity matrices from Machado, Oliveira and Fernandes, "A Physiologically-based Model for Simulation of Color Vision Deficiency", IEEE TVCG 15(6), 2009, applied to linearised sRGB.
  • Achromatopsia is the Rec. 709 luminance in linear light, shown as grey.
  • Contrast is the WCAG 2 ratio of each colour against the background. Aim for 3:1 for graphics and 4.5:1 for text.
  • Two colours are flagged as hard to tell apart when their CIE76 ΔE in Lab is below the threshold you set. The default is 10. ΔE is a rough guide, and a legend or a pattern is still the safer fix.

Frequently asked questions

How does the checker simulate colour blindness?

It applies the Machado, Oliveira and Fernandes (2009) model at full severity on linear sRGB for protanopia, deuteranopia and tritanopia, and Rec. 709 luminance for achromatopsia.

What is ΔE and what threshold should I use?

ΔE (CIE76) measures how different two colours look. Pairs closer than the threshold are flagged; 10 is a common starting point, and you can change it.

What contrast ratio does WCAG require?

WCAG 2.2 level AA requires 4.5:1 for normal text and 3:1 for large text and graphical objects.

Is a colour-blind-safe palette enough?

No. Also avoid encoding meaning by colour alone: add labels, shapes, patterns or text.

Reading that goes with this tool.