Beato symbolBeato

Color Contrast Checker

Check whether a foreground and background color pair meets WCAG AA and AAA contrast thresholds for normal and large text.

Inputs are processed in your browser without uploads, an account, or credits.

How to use it

  1. Enter the foreground and background as #RGB or #RRGGBB.
  2. Run the check and read the pass or fail result for the text size and conformance level you need.

Example

Input
Foreground #000000; background #ffffff
Result
21.00:1 — passes AA and AAA for normal and large text

Limits

The displayed ratio is rounded to two decimals; pass/fail uses the unrounded value. A check of two opaque sRGB colors does not establish accessibility for an entire page or site.

Related tools