Skip to main content

Scale Digital Media

Web Development · Checker

Colour Contrast Checker

Low-contrast text is one of the most common accessibility failures, and it makes pages harder for everyone to read, especially on phones outdoors. Enter a text colour and a background colour to get the WCAG contrast ratio, see whether it passes for normal text, large text and interface elements, and get the nearest shade that would pass.

Free, no sign-up. Runs in your browser: nothing you enter is stored or sent to us.

Your colours

Hex (#777 or #777777) or rgb(…).

How contrast is calculated

WCAG defines contrast from the relative luminance (perceived brightness) of each colour:

Contrast ratio = (L1 + 0.05) ÷ (L2 + 0.05), where L1 is the lighter colour’s luminance

Ratios run from 1:1 (identical colours) to 21:1 (black on white). The requirements:

UseAA (minimum)AAA (enhanced)
Normal text4.5:17:1
Large text (24px+, or 18.66px+ bold)3:14.5:1
Icons, borders of inputs and buttons (UI components)3:1–

The suggested fix keeps the same hue and saturation and adjusts lightness until the text reaches 4.5:1 against your background, so it stays close to your brand colour.

Common contrast problems

  • Light grey body text on white, used to look “clean”. Often around 2.5–3.5:1.
  • White text over photos without an overlay.
  • Brand colours (bright greens, yellows, oranges) used for text or buttons with white labels.
  • Placeholder text in forms used instead of labels.

AA is the level most accessibility laws and guidelines refer to. Read website accessibility for small businesses for the wider picture.

Next step

Planning a rebuild or fixing a site that underperforms?

Share what you are building or fixing. We will tell you what we would change first and why.