Contrast

Colour contrast, Contrast ratio, Visual contrast, Contrast accessibility, WCAG contrast
Contrast is the difference in brightness or colour between elements on a screen, ensuring that text and buttons remain legible. It is crucial for accessibility and conversion.

What is Contrast?

Contrast is the measurable difference in brightness or colour between two visual elements, such as text on a background or a button next to surrounding content. A contrast ratio of at least 4.5:1 for standard text and 3:1 for large text ensures that almost everyone can read your website clearly, including people with visual impairments or colour blindness. In web design, contrast is one of the four basic principles of accessibility according to the W3C’s WCAG guidelines. Sufficient contrast makes the difference between an online shop that drives visitors away and a site that inspires trust and converts visitors.

How contrast ratio works and is measured

Contrast is expressed as a ratio between the lightest and darkest colours in a combination, for example 7:1 or 21:1. A ratio of 1:1 means that two colours are identical and therefore unreadable, whilst 21:1 is the maximum contrast between black and white. The WCAG 2.1 accessibility standard stipulates a minimum ratio of 4.5:1 for normal text and 3:1 for text of 18 points or larger. You can check contrast using free tools such as the Colour Contrast Analyser or the built-in inspector in Chrome DevTools. In practice, we often see that, in small and medium-sized companies, grey text on a white background falls just below the 4.5:1 threshold, causing older visitors or people with visual impairments to lose interest. A simple adjustment to a slightly darker shade of grey resolves this immediately.

Why contrast emerged as a design principle

Contrast as a design principle originates from the art of printing, where legibility depended on the quality of ink and paper. With the advent of screens, contrast became measurable and quantifiable, as screens emit light rather than reflect it. In 1999, the Web Content Accessibility Guidelines introduced the first guidelines for minimum contrast ratios, based on research into visual impairments and readability under different lighting conditions. Since 2018, WCAG 2.1 Level AA has been the legal standard in the EU for government websites and is increasingly becoming a requirement for commercial platforms as well. What began as an accessibility requirement has also proved to be of business value: websites with sufficient contrast score higher in user tests and convert better, as visitors have to make less effort to process information.

This provides sufficient contrast for your website

A website with good contrast ensures that all visitors can read your content, even on a sunny terrace or on an older screen. This increases the time people spend on your site and reduces your bounce rate – two factors that Google takes into account in its ranking. For online shops, we’ve found that buttons with insufficient contrast can lead to up to a 15 per cent drop in conversion rates, simply because visitors don’t recognise them as clickable. Sufficient contrast is also a mandatory requirement for WCAG certification, which is increasingly being requested in tenders or when working with larger clients. In our web design projects, we therefore build sites from day one using contrast ratios that meet at least AA level, ensuring your site is future-proof and excludes no one. A one-off contrast check during the design phase prevents costly redesigns later on.

Applications of contrast

Contrast plays a role in virtually every visual decision on your website, from the colour of your call-to-action buttons to the readability of your footer. Below are four specific situations in which contrast makes the difference between a website that works and one that frustrates visitors.

Text readability on landing pages and product pages

On pages where you want to convince visitors, such as a service landing page or a product detail page, every sentence must be easily readable. Grey text on a light grey background may look modern, but often scores below 3:1 and forces visitors to strain their eyes. This increases cognitive load and leads to visitors leaving the site more quickly. An online shop with 800 products that we analysed had a contrast ratio of 2.8:1 for product descriptions, resulting in 22% more abandoned product pages than the industry average. After adjusting this to 7:1, the conversion rate rose by 9 per cent. For body text, you should ideally choose a dark grey or black colour on a white background, or vice versa for dark mode. Alt text and other metadata do not need to be visible, but all visible text must meet the 4.5:1 standard.

Buttons and calls-to-action that stand out without being garish

A call-to-action button must be immediately recognisable as a clickable element, without the need for bright neon colours. The contrast between the button text and the button background must be at least 4.5:1, and the button itself must stand out sufficiently against its surroundings. In practice, we often see white text on a light blue button, which falls just below the 3:1 ratio and is particularly difficult to read on mobile devices. A rule of thumb: if your button looks subtle, test whether someone aged 55 or over can read it at arm’s length without glasses. For online shops, we recommend giving primary buttons such as β€˜Add to basket’ and β€˜Order’ a contrast ratio of at least 7:1 against the background. Secondary buttons such as β€˜More info’ may be slightly more subtle, but should never fall below 4.5:1. Focus states during keyboard navigation require a contrast of 3:1 against the surrounding area – a detail that is often overlooked.

Icons, graphs and interactive elements

It’s not just text that needs contrast. Social media icons, arrows in a carousel or segments in a graph must also stand out sufficiently. WCAG 2.1 stipulates a minimum contrast ratio of 3:1 for non-text content such as icons and UI components. A common mistake: a light grey hamburger menu icon on a white header, which disappears as soon as the sun shines on your screen. For data visualisations such as bar charts or line graphs, adjacent colours must have a contrast ratio of at least 3:1; otherwise, people with colour blindness will be unable to distinguish between them. On a B2B site with dashboards that we optimised, 40 per cent of users found it difficult to distinguish between two data lines because both were pastel colours with a contrast ratio of 1.9:1. After switching to complementary colours with a 5:1 contrast ratio, support enquiries fell by 60%. Tools such as Figma have built-in contrast checkers that alert you in real time whilst you’re designing.

When contrast is the right focus and when it isn’t

Contrast is essential if you serve a broad audience, have an older target demographic, or are legally required to ensure accessibility (government, healthcare, education). It is also crucial for online shops and lead generation sites, where every lost visitor costs revenue. Contrast is less urgent if you have a niche audience of young, tech-savvy users viewing your site on high-quality screens, although it remains a best practice. Do not invest in contrast optimisation if your basic functionality is not yet up to scratch: a slow website with a perfect contrast ratio converts less effectively than a fast site with moderate contrast. Start with a free contrast check via WebAIM or Lighthouse, resolve the most serious issues, and then integrate contrast as standard into your brand identity and design system.

Want to apply this in your company? Monkey Vision helps SME entrepreneurs with web design, SEO and smart digital solutions. Plan a no-obligation discovery call and discover what is possible for you.

Plan a discovery call

Frequently asked questions

No, contrast is a combination of both. Luminance only measures how light or dark a colour is, whilst contrast indicates the relationship between two colours, including both their luminance and saturation. Two colours can have a significant colour difference, such as red and green, but still lack sufficient contrast if they have the same brightness. This is precisely why people with colour blindness struggle with certain colour combinations. A contrast ratio of 4.5:1 takes into account how the human eye perceives light, not just the RGB values. In practice, this means you cannot rely on β€˜it looks different’, but must measure using a tool that applies the WCAG formula.

For most SME websites, WCAG Level AA is sufficient and realistically achievable. AA requires a contrast ratio of 4.5:1 for normal text and 3:1 for large text, which covers 80 per cent of visual impairments. Level AAA requires a contrast ratio of 7:1 for normal text and is primarily intended for government portals, healthcare institutions and platforms where accessibility is a legal requirement. Achieving AAA often means sacrificing design freedom, as many brand colour combinations become impossible. Start with AA as your baseline and only increase to AAA for critical content such as forms or instructions. If in doubt: test your site with a contrast checker and seek feedback from users with visual impairments.

Download the free Colour Contrast Analyser from TPGi or use the Lighthouse audit in Chrome DevTools, which automatically checks all text elements on your page. For a quick check, you can use the WebAIM Contrast Checker: enter the hex codes for your foreground and background colours and you’ll see straight away whether you meet AA or AAA standards. Bear in mind that automated tools cannot always assess text over images, so test these manually. A practical method: view your site on an older screen or with your brightness set to 50 per cent; this simulates how a large proportion of your visitors see your content. Fix the most common issues first, such as body text and primary buttons, and only then move on to decorative elements.

Many brands struggle with contrast because their corporate colours were not designed for digital use. The solution is to define a dark and a light variant for each colour that do meet the 4.5:1 standard, without losing your brand identity. A light blue that doesn’t work against a white background can be reserved for large areas and replaced with a darker blue for text. At Monkey Vision , we build digital colour palettes that align seamlessly with your offline brand identity but are optimised for on-screen use. Book a free 30-minute design scan where we’ll review your current site. You’ll immediately receive three specific adjustments that improve your contrast without compromising your brand image, plus an overview of which elements take priority. No sales pitch, just a workable plan.

About the author

Monkey Vision

Monkey Vision is een full-service digitaal bureau in Nijmegen, gespecialiseerd in webdesign, SEO en AI-automatisering voor het MKB. De kennisbank is samengesteld door ons team van online-strategen en doorlopend bijgehouden op basis van actuele inzichten.

Publication date: 26-04-2026
Last update: 27-04-2026