Contrast checker
Enter a text colour and a background colour. You will see at once whether the text is readable, and if not, we suggest a fix.
Body text 16 px: The quick brown fox jumps over the lazy dog.
Large text 24 px bold: From idea to launch.
ButtonLarge text only
Headings pass, but smaller text will be hard to read for some people.
Suggested fix: text colour #7F7F85 gives a ratio of 4,62 : 1 and also passes for body text.
For designers and developers
-
Body text, AA
1.4.3 · ≥ 4,5 : 1 ✕ Fails -
Large text, AA
1.4.3 · ≥ 3 : 1 ✓ Passes -
Body text, AAA
1.4.6 · ≥ 7 : 1 ✕ Fails -
Large text, AAA
1.4.6 · ≥ 4,5 : 1 ✕ Fails -
Icons and controls
1.4.11 · ≥ 3 : 1 ✓ Passes
:root {
--text: #7C7C82;
--bg: #141416;
/* kontrast 4,44 : 1 */
}
How people will see it on a phone
The light and dark mode of a phone and browser treat websites differently. Some leave the site as it is, others darken it themselves and change the contrast as a result.
Forced dark mode is an approximate simulation; every browser recalculates colours a little differently. If the site has its own dark mode via prefers-color-scheme, browsers use it instead of automatic darkening.
Why care about contrast
Outdoors in the sun
On a phone in daylight the display contrast drops significantly. What is readable at a desk disappears outside.
Everyone’s eyesight ages
With age the eye needs more contrast. Light grey text on white is a problem even for people without a diagnosis.
It is also an obligation
Public-sector websites and, since June 2025 thanks to the European Accessibility Act (EAA), many business websites and e-shops must meet WCAG level AA.
Better for everyone
Readable text is read faster and with less fatigue. Contrast helps conversions, not just accessibility.
What is WCAG
WCAG (Web Content Accessibility Guidelines) are international web accessibility rules from the W3C consortium. Level AA is the common standard required by law. AAA is stricter and suits mainly long reading.