Support: Color Converter
Tell us what happened. Include which page you were on and what you expected to see. Most answers go out within a business day.
Common questions
How do I convert HEX to RGB?
Type the HEX code, with or without the #, and read the rgb() line: each pair of hex digits is one channel in base 16, so #1d4ed8 is rgb(29 78 216). Press Copy beside it. Typing an rgb() value gives the HEX the same way.
Which colour forms can I type?
HEX in 3, 4, 6 or 8 digits; rgb() and rgba(); hsl() and hsla(); hwb(); oklch() and oklab(); cmyk() with or without percent signs; any of the 148 CSS colour names; or three plain numbers such as 29 78 216. Commas, slashes and spaces all work.
Is the CMYK exact?
No. There is no exact conversion from a screen colour to ink; the result depends on the press, paper and profile. The figures use the plain formula most tools share, good enough to describe a colour to a printer. Convert in your design software with the printer's profile for print-ready files.
What is OKLCH and why use it?
A newer CSS colour form, lightness, chroma and hue in a space that matches how people see. Colours with the same L look equally light, and the lightness scale here is built in it so shades keep their hue. Colours brighter than a screen can show are pulled into range, and the page says when that happened.
What contrast ratio do I need?
WCAG 2 level AA asks for at least 4.5:1 for normal text, 3:1 for large text (about 24 px, or 19 px bold) and for interface parts like icons and borders; level AAA asks for 7:1 for normal text. Type the background under Against and the badges show what the pair meets.
How does picking colours from a picture work?
The picture is shrunk and its pixels grouped by colour on your device; the biggest groups that are clearly different from each other are shown as chips, up to eight. Click a chip to load that colour. The picture is never uploaded.
Is the colour name exact?
The Name line shows the CSS name only when the colour matches it exactly. Otherwise it shows the nearest named colour, measured in OKLAB, so you have a word for it.
Is it free?
Yes, completely free, with no sign-up.