Text should meet the enhanced 7:1 contrast ratio
At level AAA, normal text needs a contrast ratio of at least 7:1 and large text at least 4.5:1. This helps people with moderately low vision read without assistive technology.
| Rule ID | color-contrast-enhanced |
|---|---|
| Impact | Serious |
| Success criterion | 1.4.6 Contrast (Enhanced) · AAA |
| Standards | WCAG 2.0 · WCAG 2.1 · WCAG 2.2 |
| Fixed when you turn the option on |
Example
<style>
.article-body { color: #6b6b6b; background: #ffffff; }
</style>
<p class="article-body">The council voted to extend the bike lane to the harbour.</p>Mid grey (5.3:1) passes AA, but readers with low vision tire quickly on long articles.
<style>
.article-body { color: #404040; background: #ffffff; }
</style>
<p class="article-body">The council voted to extend the bike lane to the harbour.</p>Dark grey (10.4:1) stays comfortable to read for long articles, even for readers with low vision.
Why it matters
The minimum 4.5:1 ratio is set for people with mild vision loss. People with moderately low vision, typical of older readers or of conditions like glaucoma and diabetic retinopathy, often need more. The 7:1 ratio roughly compensates for the loss of contrast sensitivity at about 20/80 vision, so many can read without a magnifier.
This is a level AAA requirement: most laws and policies point to level AA, so it is rarely mandatory. It is still worth meeting for long reading text (articles, documentation, terms of sale), where small gains in contrast add up to much less eye strain.
How to fix it
Start with body text, where the effort pays off most, and work outward.
Normal text (below 24px, or below about 18.7px when bold) needs 7:1.
Large text needs 4.5:1.
On a white background, text at #595959 or darker reaches 7:1. On a dark theme, text at #c4c4c4 or lighter on #121212 does:
<style>
body { color: #262626; background: #ffffff; }
.meta { color: #545454; } /* 7.6:1 for bylines and dates */
@media (prefers-color-scheme: dark) {
body { color: #ededed; background: #121212; }
}
</style>
Secondary text. Bylines, captions and form hints are often styled light on purpose. Use size, weight or spacing to set them apart instead of a paler color.
Links and buttons. Darken the link color until it passes on the page background; keep the brand color for large headings.
If you cannot meet 7:1 everywhere, offer a high-contrast theme the visitor can switch on, and keep 4.5:1 as the minimum.
Checklist
- Aim for 7:1 on body text and 4.5:1 on large text.
- Use size or weight, not a paler color, for secondary text.
- Check both light and dark themes.
- Keep 4.5:1 as the floor where 7:1 is not possible.
How the check works
The check works like the minimum contrast check but with stricter targets: 7:1 for normal text and 4.5:1 for large text. It computes the text color and the background behind it and fails when the ratio is lower. Text over images, gradients or covered by other elements cannot be measured and is left for you to verify by eye.
Resources
Updated October 27, 2026