Colour Contrast

« Back to Glossary Index

Definition: Colour contrast, in the context of web accessibility, refers to the ratio of luminance (perceived brightness) between a foreground colour — typically text — and its background colour. WCAG specifies minimum contrast ratios that text must meet to be considered readable for users with low vision or colour vision deficiencies: at least 4.5:1 for normal-sized text (WCAG AA) and 3:1 for large text (18pt+ or 14pt+ bold). Contrast ratios are expressed as a ratio against white (1:1) and pure black (21:1), with higher numbers indicating greater contrast.

Why It Matters: Insufficient colour contrast is consistently the most commonly reported WCAG failure on public websites, according to the WebAIM Million annual report. Approximately 8% of men and 0.5% of women have some form of colour vision deficiency, and low contrast text is difficult or impossible for people with low vision to read regardless of font size. Beyond users with permanent disabilities, poor contrast affects all users viewing screens in bright sunlight, on older monitors, or at an angle. Meeting WCAG contrast requirements is not just a legal compliance issue — it is a readability and user experience improvement that benefits every visitor. Common contrast failures include: light grey text on white backgrounds, yellow or light green text on white, and white text on pale brand colours.

How It Works: Colour contrast is calculated using the WCAG contrast ratio formula, which computes the relative luminance of each colour based on its RGB values. The required ratios are: 4.5:1 for normal text (WCAG AA), 3:1 for large text (WCAG AA), and 7:1 for normal text (WCAG AAA). Contrast ratios are checked using free tools including the WebAIM Contrast Checker, the Colour Contrast Analyser desktop application, browser extensions, and built-in checks in Figma, Adobe XD, and Chrome DevTools. When a colour combination fails, designers adjust the lightness/darkness of one or both colours until the required ratio is achieved — typically by darkening the text colour or lightening/darkening the background. Brand colour palettes should be validated against contrast requirements during the design phase, not as an afterthought.

Related: WCAG, Colour Theory, Accessibility Audit, ADA Website Compliance, Visual Hierarchy

Synonyms:
Color Contrast, Contrast Ratio