Free color converter and contrast checker. Paste HEX, RGB, HSL, OKLCH, CMYK, or a CSS color name and read every format back. The contrast ratio uses WCAG 2, with AA and AAA flags for normal and large text, plus the nearest Tailwind token.
1Paste a colorUse HEX, rgb(), hsl(), oklch(), cmyk(), or a CSS name. The swatch and every format update together.
2Copy the format you needEach row has its own copy button for HEX, RGB, HSL, OKLCH, and CMYK.
3Check the contrastSet a background. The ratio and the AA and AAA flags use WCAG 2, after flattening any transparency.