Check WCAG AA/AAA contrast ratio between two colors
Check whether the contrast between a foreground color and a background color meets the Web Content Accessibility Guidelines (WCAG) standards. The tool computes the exact contrast ratio using the official WCAG 2.1 formula (relative luminance with sRGB gamma correction) and grades the result as AA, AAA, or Fail for three common use cases: normal body text (minimum 4.5:1 for AA, 7.0:1 for AAA), large text of 18 point or greater (minimum 3.0:1 for AA, 4.5:1 for AAA), and UI components and graphical objects (minimum 3.0:1).
A live preview shows exactly how the color pair looks on real text, so you can fine-tune both colors with the color pickers or type HEX values directly. Designers and developers use this tool to validate brand palettes, audit existing websites for accessibility issues, and choose color combinations that remain legible for users with low vision or color-vision deficiency.