The issue

Insufficient contrast between text and its background is one of the most frequent accessibility issues and yet one of the simplest to fix. WCAG success criterion 1.4.3 requires a minimum contrast ratio of 4.5:1 for standard-sized text and 3:1 for large text (24px or 18.5px bold). These thresholds are not arbitrary: they come from visual ergonomics research and ensure text readability under most conditions. Light gray text (#999) on a white background (#fff) has a contrast ratio of only 2.85:1 — far below the requirement. Light blue text on a white background, white text on a yellow background, gray text on a slightly darker gray background: these color combinations are ubiquitous on the web and all pose readability problems. The lack of contrast does not only affect people with visual impairments. It also affects users viewing their screens in bright sunlight, on a poor-quality display, or simply older people whose visual acuity naturally declines. According to the WHO, 2.2 billion people worldwide have a visual impairment, including 300 million with color blindness. Insufficient contrast makes your content inaccessible to a significant portion of your audience. It is important to note that the contrast criterion also applies to text embedded in images, form field placeholders, text on background images, and interface elements such as input field borders. Icons and informative graphical elements must also meet a minimum contrast ratio of 3:1 with their surroundings.

Does your site have this issue?

106 RGAA criteria analyzed in 5 minutes by our AI.

Test your site for free

Impact on users

For a visually impaired person, text with insufficient contrast is simply unreadable. They must squint, move closer to the screen, or use a magnification tool — all extra efforts that make browsing exhausting. For color-blind people (8% of men, 0.5% of women), certain color combinations that appear contrasted to a normal eye become indiscernible. Red on green, for instance, is invisible to a deuteranope. Older people are also heavily affected: after age 60, the lens yellows and contrast sensitivity significantly decreases. A site with poorly contrasted text effectively excludes seniors, who represent a growing segment of internet users. Beyond disability, insufficient contrast degrades the experience for all users. Outdoors, under direct sunlight, even a user with perfect vision cannot read light gray text on a white background. This is a universal problem that affects conversion and engagement on your site.

Code example

Before (non-compliant)
<p style="color: #999999; background-color: #ffffff;">
  Light gray text on white background — ratio 2.85:1
</p>
<input type="email" placeholder="Your email"
  style="border: 1px solid #e0e0e0; color: #cccccc;">
<a href="/offers" style="color: #90caf9;">
  View our offers
</a>
After (compliant)
<p style="color: #595959; background-color: #ffffff;">
  Dark gray text on white background — ratio 7:1
</p>
<input type="email" placeholder="Your email"
  style="border: 1px solid #767676; color: #595959;">
<a href="/offers" style="color: #0056b3;">
  View our offers
</a>

Frequently Asked Questions

How do I calculate the contrast ratio between two colors?
The contrast ratio is calculated from the relative luminance of the two colors using the WCAG formula. In practice, use a tool like the Colour Contrast Analyser (CCA) from TPGi, WebAIM's contrast checker, or the Accessibility tab in Chrome DevTools. Scrutia automatically checks all contrasts on your page during the audit.
What are the minimum contrast ratios required by WCAG?
WCAG requires a minimum ratio of 4.5:1 for normal-sized text (less than 24px or 18.5px bold) and 3:1 for large text (24px and above, or 18.5px bold and above). For graphical elements and interface components, the minimum ratio is 3:1.
Are form placeholder contrasts covered?
Yes. Placeholder text in form fields must meet the minimum contrast ratio of 4.5:1. This is a very common issue because browsers display placeholders in light gray by default, which generally does not meet the required ratio. You must override the placeholder style in CSS.
My designer refuses to change the brand colors. What should I do?
Accessibility conformance is increasingly a legal obligation worldwide, especially under the European Accessibility Act. It is possible to respect the brand guidelines while ensuring sufficient contrast: slightly adjust the hue or brightness of colors. Going from #999 to #767676 is often enough to reach the 4.5:1 ratio while remaining visually very close to the original color.

Does your site have this issue?

Scrutia audits your site against WCAG 2.1 AA criteria in 5 minutes. Keyboard navigation, ARIA components, visible focus, contrasts, and much more.

Run a free audit