Color Contrast Analyzer
WCAG contrast ratio for two colors.
This free color contrast analyzer computes the WCAG contrast ratio between a text color and a background color and tells you whether it passes AA and AAA requirements for normal text, large text, and UI components. Enter hex values, use the native color pickers, or drag the lightness sliders to nudge either color and watch the ratio update live.
When a pairing fails, hit Auto-fix and the tool finds the nearest lightness for the text color that passes AA (4.5:1), keeping its hue and saturation intact. Meeting 4.5:1 for body text and 3:1 for large text and UI keeps your interface readable.
Related tools
Image Resizer
Resize images by pixels or percent.
Image Compressor
Shrink image file size right in your browser.
Image to Base64
Convert images to Base64 data URIs.
Image Color Picker
Pick colors from any image as HEX or RGB.
JPG to PNG Converter
Convert JPEG photos to lossless PNG.
PNG to WebP Converter
Shrink PNGs to modern WebP format.