🌐 English

Home › Guides

Getting text contrast right

Whether text is easy to read on its background can be measured with a number: the contrast ratio.

Criteria at a glance

Pairs that often fail

Light grey text on white, white text on yellow and text over photos are the usual culprits. Make grey text darker than #6b7280, and add a translucent dark band behind text on photos.

Keep the hue, change the lightness

To keep your brand color, leave the hue and change only lightness. COI's “Contrast Checker” suggests the closest lightness that passes.