1. Your palette
2. Contrast table — every pair
Click a row to preview that pair as real text below. AA normal text needs ≥ 4.5:1; AAA normal ≥ 7:1; AA large text ≥ 3:1; AAA large ≥ 4.5:1.
| Pair | Ratio | Normal text | Large text |
|---|
3. Colour-vision-deficiency simulation
Each palette colour as seen with protanopia (no red cones), deuteranopia (no green cones), tritanopia (no blue cones) and achromatopsia (no colour at all). Simulation uses the Machado et al. (2009) severity-1.0 matrices in linear sRGB — an approximation, not a medical test (see Honest limits).
4. Safe combinations
Every ordered pair (text colour on background colour) that passes AA for normal text (≥ 4.5:1), ranked best first.
5. Export your palette
Honest limits
- WCAG contrast ratios are computed exactly from the WCAG 2.x formula — but a passing ratio does not guarantee readability for every person. Font choice, size, weight, spacing and layout all matter, and this tool does not check them.
- CVD simulation is an approximation (Machado model, severity 1.0 — full loss of one cone type). Most real colour-vision deficiency is milder (anomalous trichromacy), so real shifts are usually smaller. It is a design check, not a medical test.
- The tool checks colours only — not fonts, sizes, layouts, images, or motion.
- Ratios are rounded to 2 decimals for display; verdicts use the unrounded value.