See the ratio, AA and AAA results, a live sample, and a nearest passing suggestion.
Read instructions, examples, and limits
Normal text sample for WCAG contrast.
Large text sample.
Contrast Checker measures text and background colors against WCAG AA and AAA levels.
It shows a live sample and can suggest the nearest foreground that passes AA normal.
Set the text to #000000 and background to #FFFFFF for a 21:1 reference pair. Then enter the colors from your design. The checker compares the unrounded ratio with its pass thresholds, so a displayed ratio rounded to 4.50 can still fail normal-text AA if the underlying value is slightly lower.
Apply the suggested foreground if the current pair fails, then inspect the live sample and your real layout. The suggestion moves the foreground toward black or white; it does not change the background. This two-color test does not evaluate an entire page, gradients behind text, images, hover states, or font size. Check each relevant state and background separately rather than treating one passing pair as a complete accessibility review.
Processing stays in this tab. Nothing is uploaded.
All processing runs locally in your browser. This tool is provided as-is without warranty. Keep backups of your original files before processing.
By selecting media, you confirm you own the content or have permission to modify it. Please read the Terms and Conditions.