Developer Tools
Checks foreground/background colors against WCAG accessibility standards.
The quick brown fox jumps over the lazy dog.
This box previews your selected colors
Enter your desired foreground (text) color into the first input box. You can use standard HEX codes (e.g., `#FFFFFF`), RGB values, or CSS color names.
Enter your background color into the second input box.
The tool will instantly calculate the contrast ratio and update the large preview box to show you exactly how the colors interact.
Review the results below the preview box to see if your color combination passes or fails the WCAG AA and AAA standards for both normal and large text.
Ensuring your website is accessible to all users is not just a best practice—it's often a legal requirement. One of the most critical aspects of web accessibility is color contrast. For users with visual impairments, color blindness, or simply those reading their screens in bright sunlight, poor contrast between text and background colors can render a website completely unusable. Our Color Contrast Checker is designed specifically for UI/UX designers and frontend developers to instantly verify their color palettes against the Web Content Accessibility Guidelines (WCAG).
This tool calculates the exact contrast ratio between any foreground (text) and background color. It then immediately indicates whether the combination passes or fails the strict WCAG AA (minimum contrast) and WCAG AAA (enhanced contrast) standards for both normal text and large text. The dynamic preview pane allows you to see exactly how your text will look on the chosen background in real-time, eliminating guesswork from your design process.
All calculations are performed locally in your browser using precise luminance algorithms. Whether you are auditing an existing design system, tweaking a button hover state, or building a brand new color palette from scratch, our free contrast checker ensures your designs are universally readable, compliant, and beautiful.