Pretty is not readable: a brand orange on white can look bold and still fail every accessibility test. This free contrast checker measures any text color against any background with the official WCAG ratio, and reports AA and AAA verdicts for normal and large text, with a live preview so you can see the pairing as you pick.
It runs entirely in your browser, so nothing is uploaded and it works offline once the page loads. Pick two colors and the verdicts appear instantly. When a pair fails, the Accessible Color Suggester finds the nearest color that passes.
How to use
- Pick a text color with the left color picker.
- Pick a background color with the right color picker.
- Read the contrast ratio and the four WCAG verdicts as they update.
- Check the live preview to see how the text actually reads on the background.
Why use Toolsvine
A color pair can look high-contrast and still fail WCAG — brand orange on white is the classic trap, vivid to the eye and unreadable to a reader with low vision. The official ratio is simple once you know it, but nobody computes relative luminance by hand for every button on a site. A local checker with live verdicts and a real preview turns an accessibility audit into a second, free, with no account and no upload.
How is the WCAG contrast ratio computed?
The ratio compares the relative luminance of the two colors — how bright each one looks to the human eye, with green weighted most, red next and blue least. The ratio is the lighter luminance plus 0.05 divided by the darker luminance plus 0.05, so identical colors score 1 to 1 and black on white scores 21 to 1.
The 0.05 padding keeps the ratio finite when one color is pure black.
WCAG sets the bar at 4.5 to 1 for normal text, because that is the level where most readers with low vision can read comfortably, and 3 to 1 for large text, which is easier to read at lower contrast. AAA raises the bar to 7 to 1 for normal text and 4.5 to 1 for large text.
Worked example: #757575 on #FFFFFF
Pick #757575 text on a #FFFFFF background and the checker reports a ratio of 4.61 to 1. That passes AA for normal text, because 4.61 is above 4.5, and it passes AA for large text, because 4.61 is above 3.
It fails AAA for normal text, because 4.61 is below 7, and it passes AAA for large text, because 4.61 is above 4.5.
Common pairs, rated
| Text on background | Ratio | AA normal | AAA normal |
|---|---|---|---|
| #000000 on #FFFFFF | 21.00 : 1 | Pass | Pass |
| #757575 on #FFFFFF | 4.61 : 1 | Pass | Fail |
| #FF5733 on #FFFFFF | 3.15 : 1 | Fail | Fail |
| #1E90FF on #000000 | 6.49 : 1 | Pass | Fail |
Brand colors often fail AA as body text: #FF5733 on white is only 3.15 to 1, so it works for large headings and buttons but not for paragraphs. The darkest gray that passes AA on white is around #767676, which is why most sites use #595959 or darker for body copy.
What should I do when a pair fails?
Darken the text or lighten the background until the ratio clears the bar — a small lightness shift usually fixes a small miss, because luminance changes fast near the middle of the scale. If the brand color cannot change, use it only for large text, icons and decorative elements, and pair it with a dark neutral for body copy.
Never fix a failure by making the text bolder or larger alone, because size helps only at the large-text bar.
When a text color fails and you need a replacement, the Accessible Color Suggester finds the nearest passing color for you, so the brand stays recognizable while the text becomes readable.
Frequently asked questions
How do I check color contrast?
Pick a text color and a background color — the contrast ratio and the four WCAG verdicts update instantly, with a live preview of the text on the background. AA normal text needs 4.5 to 1, AA large text needs 3 to 1, AAA normal text needs 7 to 1, and AAA large text needs 4.5 to 1.
Is my color data uploaded anywhere?
No. The checker runs in your browser with JavaScript. Nothing leaves your device, and the page works offline after it loads. Your brand colors and client palettes never leave your computer, which is the whole point of a local checker when you are working with unreleased designs.
How is the contrast ratio calculated?
The ratio compares the relative luminance of the two colors — how bright each one looks to the human eye — as the lighter luminance plus 0.05 divided by the darker luminance plus 0.05. Identical colors score 1 to 1 and black on white scores 21 to 1, the maximum possible. The 0.05 padding keeps the ratio finite when one color is pure black.
What is the difference between normal and large text?
Normal text is body copy and small labels, which need a 4.5 to 1 ratio for AA. Large text is 18 point or larger, or 14 point bold or larger, and needs only 3 to 1 for AA, because bigger, heavier letters are easier to read at lower contrast. A heading that passes as large text can still fail as body text, so check the size you actually use.
What should I do when a pair fails AA?
Darken the text or lighten the background until the ratio clears the bar — a small lightness shift usually fixes a small miss. If the brand color cannot change, use it only for large text, icons and decorative elements, and pair it with a dark neutral for body copy. Never fix a failure by making the text bolder alone, because that helps only at the large-text bar.