Design and Accessibility, free, by Pivotal Labs
Check a colour pair actually meets WCAG
Pick a text colour and a background and get the contrast ratio with a plain pass or fail at both WCAG levels. It runs in your browser, with no account and nothing uploaded.
Loading Color Contrast Checker...
What Color Contrast Checker does
Pick text and background colours, get the WCAG contrast score and a clear pass / fail at both levels. Everything runs in your browser.
Doing this job well
Contrast is the accessibility requirement most likely to be broken by a decision nobody thought of as an accessibility decision. A brand colour gets chosen for a logo, then used for body text, and a palette that looked confident on a designer's screen becomes unreadable on a laptop in a bright room. The ratio is arithmetic, so it is one of the few parts of this you can settle rather than argue about.
The thresholds are worth knowing rather than looking up each time. Normal text needs 4.5 to 1 for AA. Large text, which means roughly 18 point or 14 point bold, needs 3 to 1. AAA raises those to 7 and 4.5. Most organisations aim at AA, and in the UK public sector accessibility regulations make AA the explicit target rather than an aspiration.
Two mistakes recur. The first is testing the colour you meant rather than the colour that renders: text at reduced opacity over a tinted background is a different pair from the one in the design file, and it is the rendered pair that people read. The second is forgetting non-text elements, because an icon carrying meaning, a form border or a focus ring has its own 3 to 1 requirement, and focus rings in particular are routinely styled into invisibility.
It is also worth being clear about what passing does not mean. A ratio is a floor, not a verdict. Text can clear 4.5 to 1 and still be hard work at nine pixels, in a light weight, over a photograph. The number catches the failures that are indefensible; judgement catches the rest.
The practical way to use this is early, on the palette, rather than late, on a page. Fixing a brand colour that fails at the point it is chosen costs a conversation. Fixing it after it has been applied across a site, a set of documents and an email template costs considerably more, and by then somebody has usually become attached to it.
For an organisation, this is where accessibility stops being a checklist and starts being a design system question: the tokens either pass or they do not, and if they pass, everything built from them inherits that. Getting it right once at the token level is the difference between accessible by default and accessible where somebody remembered.
Common questions
What ratio do I need?
4.5 to 1 for normal text at AA, 3 to 1 for large text, which is roughly 18 point or 14 point bold. AAA asks for 7 and 4.5. AA is the usual target and the explicit one for UK public sector sites.
Does this apply to icons and borders?
Yes. Non-text elements that carry meaning, including form borders and focus indicators, need 3 to 1. Focus rings are the most commonly missed.
My text is semi transparent, which colour do I test?
The rendered result, not the source colour. Opacity over a tinted background produces a different pair from the one in the design file.
Is passing enough to be readable?
No. The ratio is a floor. Small, light text over a photograph can pass and still be hard work. The number catches the indefensible cases.
Is anything uploaded?
No, the calculation happens in your browser.
Related applets
Built by Pivotal Labs
We build software, and this is a small piece of it.
Pivotal Labs is a software development and product management team. The applets on this site are the offcuts, the small things we build for ourselves and give away. The work we are paid for looks rather different.
See what Labs buildsWhen the browser tab is not enough
A one-off clean-up is a job for an applet. Doing it the same way every month, across systems that disagree with each other, is a job for digital transformation & ai adoption.
Further reading

Scaled CS: what it actually means and when you need it

The CS Tech Stack: What to Buy, and in What Order

Automation in CS: Where It Helps, and Where It Backfires

How Customer Experience Transformation Boosts Business Success

How Business Transformation Consultancy Drives Company Growth

