Color Contrast Checker (WCAG 2.2)
Check the readability of your text and background colors against WCAG 2.2 and get a hue-preserving fix for pairs that fail.
The tool could not be loaded. Reload the page; if the problem persists, update your browser.
What ratio is enough
WCAG 2.2 asks for at least 4.5:1 (AA) or 7:1 (AAA) for normal text. For large text (24 px, or 18.7 px bold) the limits are 3:1 and 4.5:1. UI components such as button borders, icons and charts need at least 3:1 against their background.
Ratios are never rounded up
A ratio of 4.499:1 is not shown as 4.50 and counted as a pass; the value is truncated to two decimals. Semi-transparent text is first blended with the background, so the ratio uses the color you actually see.
Fix suggestions and APCA
Suggestions keep the hue and chroma and change only lightness: your brand blue stays blue. The APCA value proposed for WCAG 3 is also shown, marked experimental because it is not a standard yet.
All ColorLab tools
- Quick startPick a color and see its formats, palette, shades and contrast on one screen.
- Color pickerInstant conversion between HEX, RGB, HSL, HSV, OKLCH and CMYK.
- Palette generatorBuild palettes from color harmonies and lock the ones you like.
- Gradient studioLinear, radial and conic CSS gradients; SVG and PNG.
- Image colorsFind the dominant colors in a photo and pick colors by clicking.
- Shade scaleEleven shades from 50 to 950 from one color; Tailwind output.
- Color blindnessHow does your palette look with color vision deficiency?
- Theme builderAccessible light and dark themes as CSS variables.
- CSS effectsBox shadow, text shadow and glass effect.
- Palette libraryReady-made palettes; search by tag and save favorites.
- Brand colorsRole colors and a printable color guide.
- ExportCSS, SCSS, JSON, Tailwind, SVG and PNG.