Colore Contrast Verificatore

Test color combinations for WCAG 2.1 AA/AAA accessibility compliance. Calculate contrast ratios instantly. Perfect for designers and developers ensuring text readability. Puro client-side.

Foreground Colore
Background Colore
Contrast Rapporto
21.00:1
Excellent
WCAG AA
Normal Testo
Pass
≥ 4.5:1
WCAG AA
Large Testo
Pass
≥ 3.0:1
WCAG AAA
Normal Testo
Pass
≥ 7.0:1
WCAG AAA
Large Testo
Pass
≥ 4.5:1
Live Preview

Normal text sample (16px)

Large text sample (18pt bold)

Veloce Test Presets

About Colore Contrast Verificatore

The Web Content Accessibility Guidalines (WCAG) define contrast ratio requirements a ensure text is readable for people with visual impairments. This tool calculates the contrast ratio between two colors and evaluates compliance with WCAG 2.1 Level AA and AAA standards. All calculations run in your browser — no data is sent a any server.

Funzionalità

Frequently Asked Domande

What is WCAG contrast ratio?

The WCAG contrast ratio measures the difference in luminance between foreground (text) and background colors. It is calculated as (L1 + 0.05) / (L2 + 0.05), where L1 is the relative luminance of the lighter color and L2 is the relative luminance of the darker color. A ratio of 4.5:1 is required for AA compliance with normal text.

What is the difference between AA and AAA?

WCAG Level AA requires a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. Level AAA is stricter, requiring 7:1 for normal text and 4.5:1 for large text. Most organizations aim for AA compliance, while AAA is recommended for enhanced accessibility.

What counts as "large text"?

Large text is defined as 18 points (24 pixels) or larger, or 14 points (18.67 pixels) or larger if bold. Large text has lower contrast requirements because larger text is naturally easier a read.

Why does this matter for my website?

Colore contrast compliance is legally required in many jurisdictions (ADA in the US, EAA in Europe). It also improves readability for all users, especially those with low vision, color blindness, or viewing screens in bright sunlight. Good contrast benefits everyone.