Skip to main content

Web

Color Converter

Convert any CSS color between HEX, RGB, HSL and OKLCH. Check WCAG contrast against another color and generate a perceptually even 50–950 scale you can paste into a Tailwind or UnoCSS config.

Runs in your browser. Nothing is uploaded.

Accepts hex, rgb(), hsl(), hwb(), oklch(), oklab() and named colors.

Scale

Generated in OKLCH so lightness steps look even. Your color is pinned to the closest step (marked with a dot). Click a swatch to copy it.

Contrast checker

Large heading text

Body text needs a contrast ratio of at least 4.5:1 to meet WCAG AA. Large text only needs 3:1.

Small print is where low contrast hurts the most.

esc