Color tools

How to use

Pick a color, convert between HEX, RGB and HSL, and check WCAG contrast for a pair. Everything runs in your browser; nothing is uploaded. Swatches are drawn on a canvas so the strict CSP stays unchanged (no inline styles).

Picker and convert

Color swatch

RGB (0–255)
HSL

WCAG contrast

Compare foreground text against a background. Ratios use WCAG 2 relative luminance.

Contrast ratio: —

    Notes