Check WCAG contrast compliance between text and background colors. AA and AAA standards.
((c + 0.055) / 1.055)^2.4. Luminance is then L = 0.2126R + 0.7152G + 0.0722B. Contrast = (Lmax + 0.05) / (Lmin + 0.05). This models human visual perception of brightness.The Contrast Checker measures the luminance difference between a foreground (text) color and a background color, and reports whether the combination meets WCAG 2.1 accessibility standards. The Web Content Accessibility Guidelines define minimum contrast ratios to ensure text is readable by people with low vision or in challenging viewing conditions: AA level requires 4.5:1 for normal text and 3:1 for large text, while the stricter AAA level requires 7:1 and 4.5:1 respectively. Enter or pick your foreground and background colors, and the tool instantly calculates the contrast ratio, shows pass/fail badges for each WCAG level and text size, and previews how the text actually looks against the background. This is an essential step in any accessibility audit or compliant UI design process.
Enter HEX codes or use the color pickers to set your foreground text color and background color. The contrast ratio appears instantly along with WCAG pass/fail indicators for normal text, large text, AA, and AAA levels. Adjust colors until you achieve the compliance level your project requires.