Calcoid

Color Contrast Checker

Check WCAG 2.1 contrast between two colors. Get the contrast ratio and AA/AAA pass status for normal text, large text, and UI components.

Color contrast checker

Normal text sample. The quick brown fox jumps over the lazy dog.

Large text sample (18pt+ or 14pt+ bold).

Small text sample for body copy and captions.

Contrast ratio

5.47:1Best pass: AA

Foreground luminance 0.1418, background luminance 1.0000.

Normal text AA
Body text under 18pt
>= 4.5:1
Normal text AAA
Strictest body text
>= 7:1
Large text AA
18pt+ or 14pt+ bold
>= 3:1
Large text AAA
Strictest large text
>= 4.5:1
UI and graphics
Icons, borders, focus rings
>= 3:1

WCAG Contrast Thresholds

ContentAA minimumAAA minimum
Normal text4.5:17:1
Large text3:14.5:1
UI components3:1Not defined

Frequently Asked Questions about the Color Contrast Checker

What is a WCAG contrast ratio?
A contrast ratio measures the difference in relative luminance between two colors on a scale from 1:1 (identical colors) to 21:1 (pure black on pure white). WCAG 2.1 uses this ratio to set minimum readability thresholds for text and UI elements so that people with low vision or color blindness can perceive content reliably.
What is the difference between AA and AAA?
For text contrast, Level AA requires 4.5:1 for normal text and 3:1 for large text. Level AAA requires 7:1 and 4.5:1 respectively. WCAG conformance and legal obligations depend on the applicable standard and jurisdiction; AAA is not automatically required for government portals.
What counts as large text?
WCAG defines large text as 18 pt (about 24 px) or larger at a normal weight, or 14 pt (about 19 px) or larger when bold. Larger glyphs are easier to distinguish at lower contrast, so the thresholds for large text are more lenient than those for body copy.
Why does the checker also report a UI level?
WCAG 2.1 success criterion 1.4.11 sets a 3:1 minimum for non-text elements such as form field borders, icon strokes, focus rings, and chart lines. The UI result tells you whether your color pair is safe for those graphical objects independently of whether it passes for text.
Why does contrast ratio matter for accessibility?
Sufficient contrast helps people with low vision or reduced contrast sensitivity read text and distinguish controls. A passing ratio addresses only specific WCAG contrast criteria. It does not establish full WCAG conformance or legal compliance, which also depends on content, interactions, exceptions, jurisdiction, and the applicable standard.

Related Calculators

More calculators in "Tech"

See all 98 calculators in "Tech"