Skip to content
Local

Design

Colour Converter

Convert a colour between HEX, RGB, HSL, HSV, HWB, OKLCH and CMYK, and check its contrast against white and black.

Runs in your browser. Nothing leaves this device.

How to use Colour Converter

  1. 1Type a colour in any format (#1c6a4c, rgb(28 106 76), hsl(157 58% 26%), hsv(157, 74%, 42%), oklch(…) or a name like teal), or use the picker.
  2. 2Copy it in the format you need.
  3. 3Check the contrast ratings before using it for text.

Questions

How is CMYK worked out?

With the simple formula from RGB. Printers use colour profiles, so treat it as a starting point, not a print-ready value.

What do AA and AAA mean?

They are WCAG contrast levels. Normal text needs 4.5:1 for AA and 7:1 for AAA. Large text needs 3:1 and 4.5:1.

Is HSB the same as HSV?

Yes. Hue, saturation and brightness is another name for hue, saturation and value, so hsb(30, 100%, 100%) and hsv(30, 100%, 100%) are the same orange.

Is anything sent anywhere?

No. Everything is worked out in your browser.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc