Color Contrast Checker
Calculate WCAG sRGB contrast between two opaque colors and compare applicable thresholds.
How to use it
- Try #000000 foreground and #ffffff background for a 21:1 ratio.
- Run the tool and review the result before copying or using it.
Use hex or integer rgb() values. Contrast depends on actual rendering and is only one accessibility requirement.
Related guides
Related tools
Frequently asked questions
Does this send my input to a server?
The input stays in the browser. The tool does not make a network request to analyze it.