Contrast Checker: Test Colour Contrast Against WCAG

Insufficient contrast is one of the most common barriers on the web. With the contrast checker in the SiteCockpit dashboard, you can test any colour combination in seconds: you see the contrast ratio and whether the requirements for level AA and AAA are met.

Contrast checker in the SiteCockpit dashboard on a laptop
check Contrast ratio calculated instantly
check Assessment for level AA and AAA
check For text, large text and UI elements

How to Test Contrast With SiteCockpit

Choose the background colour and the text or icon colour, either with the colour picker or as a colour code. The contrast checker calculates the contrast ratio and shows whether the combination meets the WCAG requirements for regular text, large text and icons or UI elements. A preview shows sample text and icons in your colours.

  • check Enter colours as HEX, RGB or HSL or pick them with the colour picker
  • check Contrast ratio as a number, for example 4.5:1
  • check Assessment for regular text, large text and UI elements
  • check Preview with sample text in regular and large size
Smiling man pointing at yellow check marks

Which Contrast Ratios WCAG Requires

The minimum values are set out in success criteria 1.4.3, 1.4.6 and 1.4.11 of WCAG 2.2. For websites covered by the European Accessibility Act or German public sector law, level AA applies.

WCAG 1.4.3

Normal text

Body text, links, labels and notes

Level AA4.5:1
Level AAA7:1
WCAG 1.4.3

Large text

From 18 pt or 14 pt bold, such as headings

Level AA3:1
Level AAA4.5:1
WCAG 1.4.11

Controls and graphics

Input borders, icons, focus indicators

Level AA3:1
Level AAAno separate requirement

Exceptions include logos, purely decorative text and inactive controls. The AAA values are set out in criterion 1.4.6.

Typical Contrast Errors on Websites

We find these errors particularly often in audits. With the contrast checker, you can test the right alternative before you change colours in the design or CSS.

Light grey text

Light grey on white looks modern, but often does not reach the required ratio of 4.5:1 for normal text.

Text on images

Text on photos or gradients is readable to different degrees depending on the image area. Check the lightest and darkest spot.

Form fields and placeholders

Pale borders and placeholder text are hard to see for people with low vision.

Information conveyed by colour only

Links or error messages that stand out only by colour violate criterion 1.4.1, even if the contrast is sufficient.

Who the Contrast Checker Is For

Contrast issues arise at many points in the process. That is why testing pays off for everyone who works on your website.

Design

Check colour palettes, buttons and states such as hover and focus before the design goes into development.

Accessible design

Development

Test colour values while you build and fix contrast errors that easyMonitoring finds on your pages.

Discover easyMonitoring

Editorial and marketing

Check banners, campaign colours and text on images before new content goes live.

More about WCAG 2.2

Contrast Is More Than Text Colour

Many people think of contrast only in terms of text. WCAG, however, also sets requirements for UI components, graphics and the use of colour. These are the areas most often overlooked in practice.

  • check Borders of input fields and buttons need 3:1 (1.4.11)
  • check Icons and informative graphics also need 3:1
  • check The focus indicator must stand out clearly
  • check Colour must not be the only means, e.g. for error messages (1.4.1)
  • check Text on images needs a calm, high-contrast background
  • check Also check hover and focus states
Website with test results for levels A and AA

Readable for everyone

Test your colours before they become a barrier

Frequently Asked Questions About the Contrast Checker

It calculates the contrast ratio between a background colour and a text or icon colour and shows whether the WCAG requirements for regular text, large text and icons or UI elements are met at level AA and AAA.

Questions about contrast and accessibility?

We show you how to find, fix and permanently avoid contrast errors.