Home › Developer Tools › Color Converter

Color Converter: HEX ↔ RGB ↔ HSL ↔ CMYK

Paste any colour code or pick a colour to get every format, its contrast and a palette.

Contrast (WCAG)

Shades and tints

How to use Color Converter

  1. Paste a colour (#10b981, rgb(16,185,129), hsl(…), cmyk(…) or a name) or use the picker.
  2. Copy the format you need.
  3. Check text contrast and pick a lighter or darker shade.

Which format to use

  • HEX and RGB: websites, apps and design tools.
  • HSL: easy to make lighter or darker in CSS.
  • CMYK: printing. Screen colours can look different in print; ask your printer for a proof.

Contrast

WCAG asks for a contrast ratio of at least 4.5:1 for normal text (AA) and 7:1 for AAA. Large text needs 3:1. The checker shows whether white or black text is readable on your colour.

Transparency

8-digit HEX (#RRGGBBAA), rgba() and hsla() keep transparency; the alpha value is shown in the results.

Frequently asked questions

How do I convert HEX to RGB?

Split the code into pairs and convert each from hexadecimal: #10B981 → 16, 185, 129.

Can I share a colour?

Yes. The page address updates with the colour, e.g. kitmint.app/color-converter/#10b981.

Is CMYK exact?

It's the standard mathematical conversion. Real print colours depend on the paper and printer profile.

Can I pick a colour from an image?

Yes, with our Color Picker from Image tool.

Related tools

More Developer Tools