Color Converter

Convert colors between HEX, RGB, HSL and HSV instantly, pick with a color picker, check WCAG contrast and copy harmonies and palettes. Free, local, no upload.

HEXโ€”
RGBโ€”
HSLโ€”
HSVโ€”
Contrast (WCAG)โ€”

Harmonies & shades

Click any swatch to load that color.

Common colors

Advertisement

How to use Color Converter

  1. Pick a color with the color picker, or type a HEX, RGB, HSL or HSV value โ€” every other format updates live.
  2. Check the WCAG contrast ratios against white and black text.
  3. Click any harmony or preset swatch to load that color, then copy the HEX, rgb(), hsl() or CSS variables.

Design tools speak HSL, CSS speaks HEX and RGB, and image editors love HSV. This converter keeps all four in sync as you type, and adds the two things converters usually skip: WCAG contrast ratios so you know whether your text is readable, and ready-made harmonies โ€” complementary, analogous, triadic and shades โ€” you can click straight into your palette.

More tools on Dev Toolbox

FAQ

What is the difference between HSL and HSV?

Both describe a color by hue plus two more numbers. HSL lightness runs black โ†’ pure color โ†’ white; HSV value runs black โ†’ pure color, and saturation controls how washed-out it is. They convert to the same RGB โ€” just different knobs.

What contrast ratio do I need for text?

WCAG AA needs 4.5:1 for normal text (3:1 for large text); AAA needs 7:1. This tool shows the ratio against both white and black so you can pick the readable text color.

Is my color uploaded anywhere?

No โ€” conversion runs entirely in your browser. You can use it offline after the page loads.

Like this tool?

Get Very Useful Tools Pro โ€” one $6/month subscription for all tools: ad-free once ads launch, plus bigger batches and higher limits.

Go Pro