Skip to content
Ovatly

Color Contrast Checker

100% PrivateColor & Design Tools

Measure a text and background color pair against WCAG contrast ratios for accessibility.

Runs entirely in your browser. Your input is not uploaded to Ovatly or anywhere else.

Large sample text at 16.71:1

Normal sample text: the quick brown fox jumps over the lazy dog. Readability is judged against the WCAG 2.1 thresholds below.

Contrast ratio: 16.71:1
LevelNormal textLarge text
WCAG AAPASS needs 4.5:1PASS needs 3:1
WCAG AAAPASS needs 7:1PASS needs 4.5:1

Large text means at least 18pt, or 14pt bold. Ratios use the WCAG 2.1 relative luminance formula.

  1. 1Enter the text color and the background color.
  2. 2Read the ratio and the preview at the top of the results.
  3. 3Check the AA and AAA rows for your text size.
  4. 4Use Swap colors to test the inverse pairing.

About this tool

The Color Contrast Checker measures a text color against a background color with the WCAG 2.1 relative luminance formula and reports pass or fail for AA and AAA, for normal and large text. It is the check to run before shipping a color pair in an interface, a slide deck or a document.

Related tools

Advertisement

Part of Ovatly's free tools in Color & Design Tools.