Choose your two colors
The text color and the background it sits on.
Pick a text color and a background color and see actual text rendered at six common sizes, from small captions to large headings, each marked with whether it passes WCAG AA contrast.
100% private — the calculation is done in your browser and nothing is sent to any server.
The text color and the background it sits on.
Or use the default sample sentence.
Small text needs more contrast than large or bold text.
Contrast checkers usually give one ratio for a pair of colors, but whether that ratio is enough depends on how the text is actually used: WCAG sets a lower bar for large or bold text than for small body copy, because bigger, heavier strokes stay readable at lower contrast. This tool shows the real thing, your colors behind actual text at several sizes, so you see at a glance where the pair works and where it starts to struggle.
Six common text sizes are rendered with your chosen colors: small captions at 12 and 14px, body text at 16 and 18px, and large headings at 24px and 32px bold. Each one is labeled with its exact contrast requirement and whether it passes, using the WCAG rule that text counted as large, 24px and up, or 18.66px and up in bold, only needs a 3:1 ratio, while smaller text needs 4.5:1.
The default sample is a neutral pangram, but typing your own heading or paragraph is more useful: real letter shapes, word lengths and language affect how readable a color pair feels in practice, beyond what the contrast number alone captures.
A ratio that fails for your body text size but passes for headings means you can safely use these colors for large text only, not for paragraphs. If nothing passes, the colors are too close for any normal use and need to move further apart. Use the contrast checker for the exact ratio and every WCAG level including AAA, or the accessible palette generator to adjust a color until it passes.
This checks color contrast only; it does not account for font choice, letter spacing or antialiasing, which also affect real-world legibility. Nothing is uploaded, and the preview is calculated in your browser.
More utilities that also run without leaving your browser.