On this page
A dark text sample on a light card and a light text sample on a pale violet card, connected as two color pairs to check.
Each check compares a foreground color with the surface behind it.

Free browser tool

Check two colors

Choose a text color and its background. Results update as you edit.

Text or foreground

Background

Readable course materialsPreview this color pair before checking the actual slide or page.

—contrast ratio

  • Normal text · AA 4.5:1
  • Large text · AA 3:1
  • Normal text · AAA 7:1
  • Large text · AAA 4.5:1
  • Meaningful controls or graphics · 3:1

Runs locally in your browser. Colors are not uploaded or saved.

Check a foreground and background color

Choose colors with the pickers or enter hexadecimal values. The preview updates in your browser; the values are not uploaded or saved. Compare the result with the text size and use of the element you are checking.

Interpret the contrast thresholds

WCAG 2.2 Success Criterion 1.4.3 sets a minimum ratio of 4.5:1 for normal text and 3:1 for large text. Large text means at least 18 point regular or 14 point bold (about 24 px or 18.7 px). The stricter AAA comparison is 7:1 for normal text and 4.5:1 for large text.

For meaningful parts of user-interface components and graphics needed to understand content, WCAG 2.2 Success Criterion 1.4.11 uses a 3:1 threshold against adjacent colors. This does not apply to every decorative graphic or inactive control. The checker shows this comparison as a prompt, not a conformance verdict.

Thresholds are exact: a ratio below 4.5 does not pass the 4.5:1 check. The displayed ratio is truncated for readability, and the pass decision uses the unrounded value.

Supporting reading: [1] [2]

Check the material in context

Inspect the real text, size, weight, background and state. A selected color pair cannot represent transparency, gradients, images behind text, overlays, thin strokes, font rendering or every focus and hover state. Check the rendered slide or page and the exported PDF separately.

Contrast is only one part of accessibility. Also check reading order, headings, links, captions, image alternatives, meaningful color cues and keyboard access. This tool does not certify a document, a website, or legal or WCAG conformance.

Supporting reading: [1] [2] [3]

Questions about this topic

What contrast ratio should normal text meet?

WCAG 2.2 Success Criterion 1.4.3 specifies at least 4.5:1 for normal text. Large text has a 3:1 minimum; the checker also shows AAA comparisons, which are stricter.

What counts as large text?

WCAG defines large-scale text as at least 18 point regular or 14 point bold, approximately 24 px or 18.7 px. Thin or unusual fonts may be harder to read at these sizes.

Does a passing result make my slide accessible?

No. It checks only the two supplied solid colors. Review text size, states, graphics, reading order, alternatives and the exported file as well.

Are my colors sent to a server?

No. The calculation runs in your browser and does not save or transmit the entered colors.

Sources and editorial notes

The supporting reading below informs our editorial guidance. Exercises and scenarios illustrate a method; they do not report a completed product test or measured learning outcome. Read our editorial policy or send a correction with a supporting source to info@ai-essay.com.

  1. W3C WAI: Understanding WCAG 2.2, Success Criterion 1.4.3 Contrast (Minimum)
  2. W3C WAI: Understanding WCAG 2.2, Success Criterion 1.4.11 Non-text Contrast
  3. UK Department for Education: Contrast Checker guidance