What is colour contrast?
Colour contrast is the difference in luminance between text or interface elements and their background, measured as a ratio that determines how easily they can be seen.
Does your site get colour contrast right?
I’ll run a quick accessibility pass and send the issues most likely to block real visitors, free.
In plain English
Contrast is expressed as a ratio from 1:1 (no difference) to 21:1 (black on white). At WCAG Level AA, body text needs at least 4.5:1 and large text at least 3:1. Since WCAG 2.1, buttons, form borders and meaningful icons also need 3:1 against what’s next to them.
At Level AAA the targets rise to 7:1 for body text and 4.5:1 for large text. The ratio depends on luminance, not hue, so two very different-looking shades can still fail together.
Why it matters for a small business
Low contrast is one of the most common accessibility failures, and one of the easiest to avoid at the design stage. It affects people with low vision, ageing eyes and anyone reading a phone outdoors. Check your palette with the contrast checker before it’s baked into a design.
An example
A Calgary salon’s brand uses a soft blush pink, and its booking buttons put white text on that pink. The ratio falls well short of 3:1, so the most important button on the site is hard to read. The fix keeps the blush for backgrounds and accents, and uses a deeper shade of the same pink for buttons. (More for salons.)
Common mistakes
Where I see colour contrast go wrong most often.
Setting body text in pale grey on white for a minimal look that many visitors simply can’t read.
Placing text over photographs with no overlay, so contrast changes from one part of the image to the next.
Using a change in hue alone, like red for errors, to carry meaning without text or an icon.
Colour contrast, answered
For WCAG AA, 4.5:1 for normal text, 3:1 for large text, and 3:1 for interface elements and meaningful graphics.
No. WCAG exempts logos and brand names. Text, buttons and form fields around it still need to meet the ratios.
Keep reading
- nick@tavro.ca
- 587-439-9994
- Calgary, Alberta