ADA Title II Deadline: April 24, 2026

Color Contrast Accessibility Checker

Color contrast failures are the most common accessibility violation on the web, found on 83% of home pages. WCAG 1.4.3 requires a minimum 4.5:1 contrast ratio for normal text and 3:1 for large text.

No signup required. Results in under 60 seconds.

WCAG 2.1 AAAI Fix SuggestionsFree, No Signup

What WCAG 1.4.3 and 1.4.6 Require

WCAG 1.4.3 (Contrast Minimum, Level AA) requires that text and images of text have a contrast ratio of at least 4.5:1 against their background. Large text (18pt or 14pt bold and above) has a reduced requirement of 3:1. WCAG 1.4.6 (Contrast Enhanced, Level AAA) raises the bar to 7:1 for normal text and 4.5:1 for large text. These criteria exist because approximately 300 million people worldwide have color vision deficiency, and millions more have low vision conditions that make low-contrast text difficult or impossible to read. The WebAIM Million study consistently finds contrast failures on over 83% of home pages, making it the single most prevalent accessibility violation on the web.

Why Color Contrast Matters

Insufficient contrast affects far more users than just those with diagnosed visual disabilities:

  • Low vision: Over 246 million people worldwide have moderate to severe vision impairment. Low-contrast text may be completely invisible to them
  • Color vision deficiency: 8% of men and 0.5% of women have some form of color blindness. Color combinations like red/green or blue/yellow can be indistinguishable
  • Aging: Contrast sensitivity declines naturally with age. By age 80, most people need 3x more contrast than a 20-year-old
  • Environmental factors: Bright sunlight, glare on screens, and dim lighting all reduce effective contrast for every user

Beyond accessibility, contrast directly impacts readability and conversion rates. Studies show that improving text contrast can increase reading speed by up to 20% for all users, not just those with disabilities.

Common Contrast Violations and Code Examples

The most frequent contrast failures include:

  • Light gray text on white: <p style="color: #999999"> on a white background gives only a 2.85:1 ratio — fix with color: #595959 (7.0:1) or at minimum color: #767676 (4.54:1)
  • Placeholder text: <input placeholder="Enter email" style="color: #aaa"> — placeholders often fail contrast. Use ::placeholder { color: #666; }
  • Disabled states: While WCAG exempts "inactive" UI components, many implementations incorrectly apply this exemption to elements that are still informational
  • Text over images: <div style="background-image: url(...)"><h1>Title</h1></div> — use a semi-transparent overlay: background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url(...)
  • Brand colors: Many brand palettes were designed without accessibility in mind. A common fix is creating an "accessible palette" with adjusted lightness values

How CompliScan Detects Contrast Issues

CompliScan uses axe-core's contrast analysis engine to evaluate every text element on your page against its computed background color. The scanner handles complex scenarios including CSS gradients, background images, opacity, and overlapping elements. Each violation reports the exact contrast ratio, the foreground and background colors detected, and the minimum color adjustment needed to meet AA or AAA requirements. Our AI engine generates specific CSS fixes — for example, suggesting the nearest accessible color that preserves your brand identity. CompliScan tests against both WCAG 1.4.3 (AA) and 1.4.6 (AAA), so you can choose your target level. Note that automated tools catch most contrast issues but may miss text rendered on complex backgrounds or dynamically colored elements — supplement with manual spot checks. Try a free scan to see how many contrast issues your site has.

Frequently Asked Questions

What is the minimum contrast ratio for WCAG AA?

WCAG 1.4.3 (Level AA) requires a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text. Large text is defined as 18pt (24px) regular weight or 14pt (18.66px) bold. WCAG 1.4.6 (Level AAA) requires 7:1 for normal text and 4.5:1 for large text. Most accessibility laws reference the AA level, making 4.5:1 the practical minimum for compliance.

How do I calculate contrast ratio?

Contrast ratio is calculated using the relative luminance of the foreground and background colors, following the formula (L1 + 0.05) / (L2 + 0.05) where L1 is the lighter color's luminance and L2 is the darker. You do not need to calculate this manually — CompliScan automatically computes the ratio for every text element and flags those below the threshold. Browser DevTools also show contrast ratios in the color picker.

Are logos and decorative text exempt from contrast requirements?

Yes. WCAG 1.4.3 exempts logotypes (text that is part of a logo or brand name) and purely decorative text that conveys no information. Incidental text in photographs is also exempt. However, these exemptions are narrow — body text, navigation links, form labels, button text, and headings all must meet contrast requirements regardless of brand guidelines.

Does contrast apply to non-text elements like icons?

WCAG 1.4.11 (Non-text Contrast, Level AA, added in WCAG 2.1) requires a 3:1 contrast ratio for user interface components (buttons, form fields, focus indicators) and graphical objects that convey information (icons, charts). This is separate from text contrast but equally important — a gray icon on a white button must meet the 3:1 threshold.

Check Your Website Now

Enter your URL below and get a free accessibility report with AI-powered fix suggestions in under 60 seconds.

No signup required. Results in under 60 seconds.