Email contrast checker

Check the contrast ratio of a text color on a background against WCAG 2.2 AA and AAA.

Email contrast checker, the tool

Preview

A large headline

Body text at 16 px, which counts as normal text.

Footer text at 12 px, which counts as normal text.

Large text is 24 px or more, or 18.7 px or more if bold.

Contrast ratio

4.54 : 1

AA, normal text (4.5:1)
Pass
AA, large text (3:1)
Pass
AAA, normal text (7:1)
Fail
AAA, large text (4.5:1)
Pass

The ratio is cut to two decimals and never rounded up, because WCAG does not round it.

Try a pair

WCAG 2.2 contrast thresholds

The sample pairs from the checker on one scale from 1:1 to 21:1. Normal text needs 4.5:1 for AA (1.4.3) and 7:1 for AAA (1.4.6); large text needs 3:1 and 4.5:1.

Contrast ratio of each sample pair, against the WCAG thresholds
PairRatioAgainst 3, 4.5 and 7 to 1
Light gray footer text on white2.84:1Fails
White button label on orange3.11:1AA large text only
Mid gray on white4.54:1AA
Dark button label on orange5.76:1AA
Default link blue on white9.39:1AAA
Light gray text on a dark footer11.24:1AAA
Dark gray body text on white12.63:1AAA

Ratios computed from relative luminance by the checker’s own function. A button label is text too: on this site’s orange, white is 3.11:1 and the ink label 5.76:1.

Large text
18 point, or 14 point bold: 24 px, or about 18.7 px bold, at 96 pixels to the inch.
Rounding
W3C does not round the ratio, so 4.499:1 fails 4.5:1. The checker cuts the display to two decimals.
Text in images
The same ratios apply, to a headline in a banner as much as to body text.
No requirement
Logotypes, pure decoration and text on inactive controls, per the same W3C page.

A pass here is not a pass in dark mode

Some email clients change an email’s colors in dark mode. Email on Acid describes full inversion, which changes text and background, and partial inversion, which leaves most backgrounds alone, and warns that a contrast that worked in light mode can fail in dark. This checker measures the colors you enter, so send a test to the clients your list uses.

Who do you want to hear back from?

Tell us who you sell to and what you have tried. We'll get back to you ASAP, and if it looks like a fit, we build it into your systems within days.

Or write to hello@draftship.io