WCAG Color Contrast Checker

Enter a foreground and background color to get the contrast ratio, AA/AAA pass-fail, and the nearest passing color instantly.

Contrast ratiomax 21:1

17.40:1

Good contrast — passes AA for normal text
ContextAAAAA
Normal text
Below 18pt (~24px), below 14pt bold
✓ Pass✓ Pass
Large text
18pt (~24px)+ or 14pt bold+
✓ Pass✓ Pass
UI & graphics
Button borders, icons, charts (SC 1.4.11)
✓ PassN/A

Live preview

Normal text (16px)

The quick brown fox jumps over the lazy dog. 다람쥐 헌 쳇바퀴에 타고파.

Large text (24px bold)

Large Heading Preview

UI element

Button sample
Foreground #1a1a1aBackground #ffffff

Nearest passing color

Keeps the foreground hue and saturation and only adjusts lightness to reach the target — the closest passing color.

Pass AA (4.5:1)

✓ The current foreground already passes this level.

Pass AAA (7:1)

✓ The current foreground already passes this level.

Standards

  • 📐 Relative luminance & contrast ratio: WCAG 2.1/2.2 Recommendation
  • 🅰️ SC 1.4.3 Contrast (Minimum) — normal 4.5:1 / large 3:1 (AA)
  • 🅰️ SC 1.4.6 Contrast (Enhanced) — normal 7:1 / large 4.5:1 (AAA)
  • 🔲 SC 1.4.11 Non-text Contrast — UI & graphics 3:1 (AA)

※ This tool uses the WCAG 2.x algorithm and does not use the WCAG 3 draft (APCA). Transparency is ignored and colors are treated as opaque.

Guide · FAQ · bal.pe.kr

See the Guide for the formula and thresholds, the FAQ for common questions, and About for standards and methodology. Last updated 2026-07-11.