---
title: Check that a text reads
project: TotalColor
version: Latest
section: guides
language: en
license: 
url: https://totaljs.es/docs/totalcolor/latest/guides/contrast/
updated: 2026-12-02T15:40:46.087Z
---

# Check that a text reads

> The contrast says how well a text reads on the colour behind it. TotalColor measures it as the accessibility rules of the web do (WCAG 2), and finds the nearest colour that passes.

## Measure two colours

1. Put the colour of the text in **The colour**: [pick it](/totalcolor/latest/guides/pick-a-colour/) or [write it](/totalcolor/latest/guides/write-a-colour/).
2. Put the colour behind it in **Ground**, in the card **On a ground**. Write it, or press the dropper next to the field.

The button with the round arrow swaps the two.

On the Mac and on Windows, there is a shorter way. Press **Pick the text, then the ground**, click the text, and then click what is behind it. If the picker needs another click for the second one, the line at the bottom says so and the dropper next to **Ground** is ready: press Enter.

## Read the result

The sample shows a large and a usual text in your two colours. Below is the contrast, from 1 to 1 (the same colour) to 21 to 1 (black on white). Each line says **Reads** or **Does not**:

| Line | It needs |
| --- | --- |
| **Text** | 4.5 to 1 |
| **Large text and controls** | 3 to 1 |
| **Text, the strict rule** | 7 to 1 |
| **Large text, the strict rule** | 4.5 to 1 |

The first two are the level AA of WCAG, and the strict ones are the level AAA.

A colour that is not solid is measured as it looks on the ground. A ground that is not solid is measured as it looks on white.

## Make it pass

When the colour does not read as text, TotalColor gives the nearest one that does: the same hue, a little darker or lighter. Press **Take it** to make it the colour of now.

With some grounds there is none. TotalColor then says **On this ground no shade of this colour reads as text: change the ground**.

## Contrast is not all

A good contrast does not tell apart two colours that mean different things. For that, see [how other eyes see them](/totalcolor/latest/guides/colour-blindness/).
