A color converter built for design and development
The same color is written differently depending on where you use it: HEX or RGB on the web, HSL when you want to tweak hue or lightness in CSS, CMYK for print and LAB when you need to compare colors perceptually. Converting by hand is slow and easy to get wrong.
Type a color in any of those formats or pick it in the selector and you instantly see every equivalent. The tool also checks the color’s contrast on white and black against WCAG 2.1, so you know whether text will be readable, and generates code ready to copy for CSS, SCSS, Tailwind or JSON.
If you work with Adobe or Affinity, you can export the colors as an .ASE palette and import it straight into Illustrator, Photoshop or InDesign. It also warns you when an RGB color falls outside what CMYK printing can reproduce and shows total ink coverage.
A note on CMYK: the CMYK values here are calculated with the standard formula, without a color profile. They are a good reference, but to print a document faithfully it is better to convert the PDF to CMYK with an ICC profile such as FOGRA39 or GRACoL.
How to convert a color code
- Type the color as HEX, RGB, CMYK, HSL or LAB, or pick it in the selector.
- Review its equivalents in every format and its WCAG contrast.
- Copy the value or the CSS, SCSS, Tailwind or JSON code.
- If you need it, export the palette as .ASE.
Color formats
- HEX (also with transparency)
- RGB and RGBA
- CMYK
- HSL
- LAB
- Export: CSS, SCSS, Tailwind, JSON and .ASE
Frequently Asked Questions
How do I convert HEX to RGB?
Type the HEX code (for example #6366F1) and you will see its RGB value instantly, along with the other formats.
Are the CMYK values good for print?
They are a reference calculated without a color profile. To print faithfully, convert the document to CMYK with an ICC profile and ask your printer which one they use.
What is WCAG contrast?
It is the minimum contrast ratio recommended by web accessibility guidelines for text to be readable. The tool tells you whether your color meets it on white and on black.
What is an .ASE file?
Adobe’s palette format (Adobe Swatch Exchange). You can import it into Illustrator, Photoshop, InDesign and Affinity.
What does out of gamut mean?
It is a screen color that CMYK printing cannot reproduce. It will look duller in print.
Is it free?
Yes, converting colors is free. ASE export costs 1 credit, and your free account comes with 20.




