Loona Automation logoLoona Design Studio
Home › Design Tools › Colour Converter

Colour Converter — HEX, RGB, HSL, HSV & CMYK (Extended)

In short: the Colour Converter shows one colour in every major notation at once — HEX, RGB, HSL, HSV/HSB and CMYK — plus relative luminance and its contrast ratio against black and white.

Designers think in HEX, printers ask for CMYK, CSS wants HSL, and accessibility is judged by contrast. This extended converter keeps all of them on one screen so nothing is lost between tools.

Private by design: everything in this tool happens 100% in your browser with JavaScript. Your data, photos and designs are never uploaded to a server, never stored and never seen by us - close the tab and everything is gone.

How to use the Colour Converter

  1. Type a HEX colour or use the picker.
  2. Read every notation in the grid — each is computed from the same colour, so they always agree.
  3. Copy the full block, or just the line you need.

How it works

Conversions use the standard colour-space mathematics: HSL/HSV from normalised RGB, CMYK by the usual K-extraction formula, and WCAG relative luminance (with gamma correction) for the contrast ratios — the same numbers accessibility checkers report.

Worked example

A developer receives a brand colour as HEX from a designer, needs CMYK for the printer and an HSL for CSS hover states — one paste here answers all three, with the contrast check as a bonus.

Frequently Asked Questions

Which format is "correct"?

All of them describe the same colour. HEX/RGB for screens, HSL for design adjustments, CMYK for print, HSV for pickers.

What is a good contrast ratio?

WCAG asks for at least 4.5:1 for normal text against its background. Check your text colour against white and black in the grid.

Does CMYK here match my printer exactly?

It is the standard mathematical conversion — a strong starting point. Professional print uses ICC profiles for final proofing.

Can I enter RGB instead?

Use the colour picker, which covers the full RGB space, or the Shades tool’s picker — the HEX updates everywhere.

More Colour & CSS Generators

The visual Color Palette Generator and the basic Gradient Generator live in Loona Image Tools; this family is the CSS-developer-grade set (multi-stop gradients, exact code output).

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.