In plain words
Contrast is how strongly text stands out from its background, and the web's accessibility standard, WCAG, asks for a ratio of at least 4.5:1 for body text.
Where you see it
Light grey hint text on a white form, or white text on a pale brand colour, that's hard to read on a phone in sunlight. In Chrome DevTools, click a colour swatch in the Styles pane and the picker shows the contrast ratio with a pass or fail mark.
What goes wrong
- Colour as the only signal
A red border alone tells someone with red-green colour blindness nothing, and about 1 in 12 men have some form of it. Add an icon or a message that says what's wrong.
- Trusting your own screen
A bright laptop at full brightness makes pale grey look fine. Check the ratio, not your eyes.
- White text on a mid-tone brand colour
Many greens, oranges and light blues fail 4.5:1 with white text on top. Darken the button colour, or put dark text on it.
What to tell your agent
Quick check
Sign in to earn +10 XP for itQuill marks a note that failed to sync with a small red dot and nothing else. Who might miss it?