Color Contrast Checker

Enter foreground and background colors to see WCAG contrast ratio and AA/AAA pass/fail for normal and large text.

rgb(0, 0, 0)

rgb(255, 255, 255)

Sample text for contrast preview

WCAG contrast results

21.00:1

Foreground luminance: 0.0000 · Background luminance: 1.0000

AA (normal text 4.5:1): Pass
AA (large text 3:1): Pass
AAA (normal text 7:1): Pass
AAA (large text 4.5:1): Pass

About color contrast and accessibility

This free color contrast checker helps you meet WCAG 2.x guidelines. Enter hex (e.g. #000000) or rgb (e.g. rgb(0,0,0)) for text and background to get the contrast ratio and see whether the pair passes AA or AAA for normal and large text. No sign-up required.

Use cases

  • Design and marketing: ensure brand colors are readable on backgrounds
  • Accessibility: meet AA or AAA for normal and large text
  • Development: verify UI contrast before release

Send Feedback

We'd love to hear your thoughts! Your feedback helps us improve our tools and create a better experience for everyone.

Share Your Experience

Tell us what you think about this tool

Your feedback helps us improve and create better tools for everyone