Running on your device · 0 bytes uploaded

# Color Converter & Contrast Checker

One color in — HEX, RGB, HSL, HSV out — plus the WCAG contrast ratio against a second color, all in your browser.
sRGB only · HSL/HSV are re-expressions of the same color, not other color spacesInsert sampleClearForeground / text colorBackground color (for the contrast check)

Enter both colors to see the contrast ratio.

No color yet.

Accepts #hex (3/4/6/8 digits), rgb()/rgba(), and hsl()/hsla(). Channels outside CSS ranges (like rgb(300, 0, 0)) are refused rather than clamped into a different color. Named CSS colors are not parsed — the names dictionary is a plugin this tool deliberately does not load. Round trips through HSL/HSV can shift the last digit: colord converts through floating-point channels.

## Next door in Color

- [QR generator](/qr/generator)
- [URL encoder](/encoding/url-encoder)
[All color tools](/color)

---

Canonical HTML: https://nutter.tools/color/converter
Markdown version: https://nutter.tools/color/converter/index.md
Plain-text version: https://nutter.tools/color/converter/index.txt
Agent index: https://nutter.tools/llms.txt

