---
title: "\"Contrast: making text easy to read\""
description: "Light grey text looks elegant and reads badly. What contrast is, how to check it and what to fix first."
url: "https://www.litetile.io/blog/contrast-and-readability"
lang: "en"
---

Light grey text on a white page looks calm and refined on a designer's large screen. On a phone in the street, on an older laptop or to anyone whose eyesight is not perfect, it is hard work to read. Visitors who have to work to read your opening hours often stop reading.

Contrast is the difference in lightness between text and what sits behind it. It is one of the easiest things on a website to check and one of the easiest to fix. This guide explains what to look for and how to fix it without losing the look you chose.

## Contrast ratio in plain words

Contrast is measured as a ratio, from 1:1 (text the same colour as its background, so invisible) to 21:1 (black on white). The higher the number, the easier the text is to read.

The Web Content Accessibility Guidelines (WCAG), published by the W3C, set the minimums most accessibility rules refer to:

- **4\.5:1** for normal text, such as paragraphs, prices, captions and links.
- **3:1** for large text, which WCAG defines as at least 18 point regular or 14 point bold (roughly 24 and 19 pixels on a screen).
- **3:1** for the parts of an interface people need to see to use it, such as the outline of a button or a form field and meaningful icons.

A stricter level asks for 7:1 for normal text and 4.5:1 for large text. The first level is the one to aim for on every page.

The ratio is about lightness, not hue. A red and a green can be completely different colours and still have almost the same lightness, which makes text in one on the other hard to read, and harder still for people who see colour differently.

## The common mistakes

The same few problems turn up on most sites.

**Grey on white.** Light grey body text, captions or small print. It often comes from wanting the page to feel soft. Mid greys usually fail the 4.5:1 minimum for normal text.

**Text on photos.** A headline over a photo can be readable in one part of the image and lost in another, where the sky is bright or a white wall sits behind the words. It also changes when the photo is cropped differently on a phone.

**White text on a coloured button.** Many brand colours are mid-tones: bright orange, yellow, light green, turquoise, sky blue. White text on them often fails, even when the button looks fine at a glance.

**Coloured text on a coloured background.** Brand-colour text on a tinted section of the same hue, or light text on a pale dark band, can look intentional and still be faint.

**Links that look like text.** If a link differs from the text around it only by a slightly different colour, many people will not see it. An underline solves this.

## How to check

You do not need special software or a designer. Free tools give you the ratio in seconds:

- **WebAIM Contrast Checker**, a web page where you type two colour codes and read the ratio and whether it passes.
- **Your browser's developer tools.** In Chrome, Edge and Firefox, inspecting a piece of text shows its contrast ratio against its background.
- **Colour Contrast Analyser** from TPGi, a free desktop app with an eyedropper, useful for text on photos where there is no single background colour.

A quick routine for your own site:

1. List the text colours you use: body text, headings, captions, links, button text.
2. Check each against every background it appears on.
3. For text on photos, check the lightest part of the image behind the words.
4. Note anything below 4.5:1 for normal text or 3:1 for large text.
5. Fix the body text and the main buttons first; they carry the most reading.

Tip

Also open the site on your phone outside in daylight. It is not a measurement, but it shows you in a minute what your visitors live with every day.

## Size and weight matter too

The ratio is not the only thing that makes text readable.

**Size.** Small text needs more contrast than large text, which is why the guidelines allow a lower ratio for headlines. Body text that is too small causes trouble even at a good ratio.

**Weight.** Thin and light weights have less colour on the screen, so they read fainter than the ratio suggests. A thin font in mid grey is a double problem. If you love a light typeface, keep it for large headings and use a regular weight for reading.

**Line length and spacing.** Very long lines and tightly packed lines make reading harder, whatever the colours. Comfortable paragraphs are narrower than the full width of a large screen.

**The screen and the light.** Phones turn down brightness to save battery, and sunlight washes out the screen. A ratio that just passes on paper leaves little margin outdoors.

## Fixes that keep the look

Fixing contrast rarely means making the site look harsh. Small changes usually do it.

- **Darken the text a few steps, keep the hue.** A very dark warm grey or a dark brown-grey reads almost as well as black and keeps the softness you wanted.
- **Use a darker shade of your brand colour for text and buttons.** Keep the bright version for large shapes and backgrounds where no small text sits on it.
- **Switch the button text.** If white fails on your brand colour, try your darkest neutral. Yellow and light green buttons often look better with dark text anyway.
- **Move text off busy photos.** Put the headline beside the image, on a solid band, or over a calm, even part of the photo. A darker overlay behind the text also works.
- **Keep pale grey for things that are not reading text,** such as dividers and borders that only decorate.
- **Go one weight heavier** for small text, from light to regular or from regular to medium.

Watch out

A text colour that passes on your white background can fail on a tinted card or a dark band. Check it against every background it sits on, not only the main one.

Most of these fixes are one change in one place if your colours are set once for the whole site rather than section by section. litetile works that way: every section takes its text, background and button colours from your brand, so a text colour you fix once is fixed everywhere. [See how the brand works](https://www.litetile.io/features/design).

Related reading: [Accessibility basics every site owner can check](https://www.litetile.io/blog/accessibility-basics) and [Colour theory for small businesses](https://www.litetile.io/blog/colour-theory-for-small-businesses).
