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.
Topics
Tool
Start from
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)
| 1 | 2 | 3 | 4 | |
|---|---|---|---|---|
| 1 | 89.1 | 94.2 | 96.6 | |
| 2 | 149.0 | 19.4 | ||
| 3 | 144.1 | |||
| 4 |
! marks a pair closer than the threshold.
| Colours | Ratio | Text (4.5:1) | Graphics (3:1) |
|---|---|---|---|
| Colour 1 #0f1412 | 16.52:1 | Pass | Pass |
| Colour 2 #ff5a1f | 2.77:1 | Fail | Fail |
| Colour 3 #2f6bff | 4.00:1 | Fail | Pass |
| Colour 4 #cfd556 | 1.40:1 | Fail | Fail |
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.
Related articles
Reading that goes with this tool.
- Designing dashboards for red/green colour blindness
Colour-blind-safe palettes, pairing colour with a glyph, avoiding red-to-green ramps and how to test: the rules I use for dashboard design.