Website Management Tools
Colour Contrast Checker
Enter a text colour and a background colour to see their WCAG contrast ratio and whether they pass AA and AAA for normal text, large text and user-interface components. When the pair fails AA for normal text, the tool proposes a nearby text colour with the same hue that reaches 4.5:1. It reads hex, rgb(), hsl() and basic colour names. It measures two flat colours with the WCAG 2.x formula; it cannot judge text over photos or gradients, and it is not the APCA model.

How to use it
- Type or pick the text colour and the background colour.
- Read the ratio and the pass or fail result for each level.
- If it fails, try the suggested colour, or change the background, then check again.
Example
Dark grey #1c1d21 on white gives a ratio of about 16.6:1 and passes every level. Light grey #999999 on white is about 2.85:1 and fails AA for both normal and large text.
Why contrast matters beyond compliance
Low contrast makes text hard to read for people with low vision, colour-vision differences or a bright screen outdoors. It also makes pages harder for everyone to skim. Passing the ratio does not make a design accessible by itself: size, spacing and not relying on colour alone matter too.
Questions
What contrast ratio does WCAG require?
For level AA, 4.5:1 for normal text and 3:1 for large text and for user-interface components and meaningful graphics. For level AAA, 7:1 for normal text and 4.5:1 for large text.
What counts as large text?
WCAG defines it as at least 18 point (about 24 px) or at least 14 point (about 18.7 px) when bold.
Does this tool check text on images or gradients?
No. It compares two flat colours. For text over an image or gradient, check the lowest-contrast area, or give the text its own solid backing.
Why is APCA not shown?
APCA is a proposed model for a future WCAG version and is not part of the current standard, WCAG 2.2, which uses the ratio shown here.
How are transparent colours handled?
A translucent background is blended over white and a translucent text colour over that background. The real result depends on what actually sits behind the page, so treat it as an estimate.
Get practical SEO tips by email
Occasional emails with new guides and tools. Confirm by email first; unsubscribe in one click.
