Beautiful colour palettes that fail accessibility standards exclude millions of users. About 1 in 12 men and 1 in 200 women have some form of colour vision deficiency, and low-contrast text is unreadable for anyone in bright sunlight or on a dim screen. Accessibility isn't optional — it's a legal requirement in many jurisdictions and a moral obligation everywhere else.

WCAG Contrast Requirements

The Web Content Accessibility Guidelines (WCAG) define minimum contrast ratios for text and interactive elements:

Contrast ratio is calculated as the relative luminance of the lighter colour divided by the relative luminance of the darker colour, plus an offset. The math is complex, but tools like the one on this site handle it for you.

Common Contrast Mistakes

Designing for Colour Vision Deficiencies

The most common types of colour blindness are:

Design principles for colour-blind users:

Practical Tips

The colour contrast checker on this site calculates the exact WCAG ratio for any two colours you choose. Enter your foreground and background hex codes, and it tells you whether the combination passes AA, AAA, or fails entirely.