Skip to content

Color Converter

Paste a colour code or pick one, and get its HEX, RGB, HSL, HSV and CMYK values at once. It also shows the colour's contrast ratio against white and black, graded by WCAG.

This tool runs entirely in your browser; what you enter is never sent to our servers.

How to use it

  1. Type a code like #0A6B7C, rgb(10, 107, 124) or hsl(189, 85%, 26%), or use the colour picker.
  2. Every format and a preview appear straight away.
  3. Press Copy next to the format you need.

Which format when?

HEX (#RRGGBB) and RGB are screen colours, the ones web pages and design tools use most. HSL and HSV describe a colour as hue, saturation and lightness or value, which makes it easy to find a lighter or more muted shade. CMYK is for print. The CMYK values here come straight from a formula, without a colour profile: fine as a starting point, but for exact print colours convert with the profile your printer gives you. The contrast ratio measures how readable text is. WCAG asks for at least 4.5:1 for normal text (AA) and 3:1 for large text; 7:1 and above is AAA.

Frequently asked questions

Help us improve this tool