Colour converter. Paste a colour in any format and copy it as HEX, RGB, HSL or OKLCH.

How it works

  1. Paste a colour

    HEX, rgb(), hsl() or oklch() all work. So does the colour picker.

  2. See every format

    The same colour in each format, with its contrast on white and on black.

  3. Copy what you need

    Each value copies as a CSS colour you can use straight away.

Questions

What is OKLCH?

A way to write colour as lightness, chroma and hue, where equal steps in lightness look equal to the eye. That makes it good for building scales and themes.

Why do some OKLCH colours change when converted to HEX?

OKLCH can describe colours a normal screen can't show. Those are brought to the nearest colour sRGB can show, keeping lightness and hue.

More design tools