What Is the Contrast Checker?
The Contrast Checker is a free, browser-based accessibility tool that measures the color contrast ratio between any two colors and grades them against the official WCAG 2.1 guidelines. You enter a text (foreground) color and a background color as hex codes or pick them visually, and the tool instantly calculates the relative luminance of each color and returns a precise ratio expressed as a value like 4.5:1 or 7:1.
Built for designers, developers, and content creators, this contrast ratio calculator translates a complex accessibility formula into a single readable score. It tells you at a glance whether your color pair is readable for people with low vision, color deficiencies, or anyone viewing a screen in bright sunlight. Because every calculation happens locally in your browser, you get results the moment you change a color, with no waiting and no data ever leaving your device.