KRHTech

Home / Everyday tools / Color Contrast Checker

Design · Free browser tool

Color Contrast Checker

Check text-to-background contrast against WCAG AA contrast ratio thresholds.

Your entries are processed in this browser by this tool. Avoid entering sensitive information into any website unless you have checked its privacy details.

About the color contrast checker

Enter foreground and background HEX colors to calculate the WCAG relative-luminance ratio. The result is a technical check, not a complete accessibility audit; font size, focus states and non-text controls matter too.

Example

Black on white has a contrast ratio of 21:1; the AA threshold is 4.5:1 for normal text.

How to use it

  1. Enter the valuesUse the same units and assumptions stated next to each field.
  2. Run the calculationThe result appears above and is calculated locally in your browser.
  3. Check before relying on itReview the method and limitations; verify important financial, health or official decisions with an appropriate source.

Privacy and accuracy

This page does not send the values you enter to KRHTech's tool service or save them for later. The result is a convenience calculation and may not include every real-world fee, rule or individual circumstance. Read the Privacy Policy for site-wide details.

Browse all 50 everyday tools · Unit Converter · Age Calculator