Rule

Enhanced text contrast

Text must have enhanced contrast against its background (AAA)

Rule
color-contrast-enhanced
WCAG 2.2
1.4.6 Contrast (Enhanced) (opens in a new tab) (Level AAA)
Severity
Serious

What it checks

Measures text contrast the same way as the main text contrast rule, at the stricter thresholds of the enhanced criterion: 7:1 for normal text and 4.5:1 for large text, meaning 24px and up, or bold at 18.67px and up. Text that passes the minimum can still fail here.

When a person decides

The same backgrounds go to review as for the main rule: cross-origin images, video, images with light and dark areas, filters and blend modes, text painted with its background, text shadows that may form an outline, and text still waiting to fade in.

Example

Fails

<p style="color: #767676; background: #fff">Delivery takes three to five working days.</p>

Passes

<p style="color: #555; background: #fff">Delivery takes three to five working days.</p>

The engine is tested against both examples.

How to fix it

Darken the text or lighten the background until the pair reaches 7:1, or 4.5:1 for large text.

Check your own pages

This rule runs in every pour audit: the browser extension, the bookmarklet, the command line and the editor. Get pour, free.