๐ŸŽฏ Contrast Checker

Check color contrast ratio for WCAG accessibility compliance. Test text and background colors for AA and AAA standards. Supports HEX, RGB, HSL formats with color blindness simulation.

Large Text (18pt+)

Normal Text - The quick brown fox jumps over the lazy dog. This is a sample text to preview the contrast.

Contrast Ratio

21.00:1

โœ… AAA - Excellent contrast

Contrast Ratio21.00:1 / 21:1
3:14.5:17:121:1

WCAG AA

Normal Text (4.5:1)โœ“ Pass
Large Text (3:1)โœ“ Pass

WCAG AAA

Normal Text (7:1)โœ“ Pass
Large Text (4.5:1)โœ“ Pass
color: #000000;
background-color: #ffffff;

About WCAG Contrast Standards

WCAG AA: Minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text (18pt+ or 14pt+ bold).

WCAG AAA: Enhanced contrast ratio of 7:1 for normal text and 4.5:1 for large text.

Large text is defined as 18pt (24px) or larger, or 14pt (18.67px) or larger if bold.

Color Formats Supported: HEX (#RRGGBB), RGB (rgb(r, g, b)), RGBA (rgba(r, g, b, a)), HSL (hsl(h, s%, l%)), HSLA (hsla(h, s%, l%, a))

Color Blindness Types: Protanopia (red-green, difficulty seeing red), Deuteranopia (red-green, difficulty seeing green), Tritanopia (blue-yellow, difficulty seeing blue)