Color Contrast Ratio
The color contrast ratio compares the relative luminance of foreground and background colors, from 1:1 to 21:1.
What You Need to Know
WCAG 1.4.3 Contrast (Minimum) requires a ratio of at least 4.5:1 for normal text and 3:1 for large text. WCAG 1.4.11 Non-text Contrast requires at least 3:1 for many interface components and graphics. The ratio is calculated from the relative luminance of the two colors using the formula in WCAG, and automated tools cannot judge contrast over images or gradients.
Sources & References
This information is sourced from authoritative government and academic institutions:
- w3.org
https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html
Related Calculators & Tools
Put your knowledge into action with these interactive tools:
Accessible Palette Generator
Generate colour pairs that meet the contrast ratio you choose.
Color Contrast Checker Color Converter - Free Online
Convert color contrast checker color values instantly with our free tool. Get accurate results with clear explanations.
Color Contrast Ratio Calculator
Calculate the contrast ratio between two colors to ensure accessibility.
Related Terms in Accessibility
ARIA (Accessible Rich Internet Applications)
ARIA is a set of HTML attributes that give assistive technology roles, states and properties for elements.
Accessibility Statement
An accessibility statement is a public page that describes a site's accessibility status, known problems and how to request accessible alternatives.
Alt Text
Alt text is a short written description of an image that screen readers announce in place of the image.
Alt Text Decision Tree
The alt text decision tree is a W3C flowchart that helps authors decide what alternative text an image needs.
Audio Description
Audio description is a narrated explanation of important visual content in a video, delivered in pauses in the dialogue.
Captions
Captions are synchronized text on video that show dialogue and important sounds for people who cannot hear the audio.