Color Converter
Convert a color between HEX, RGB, HSL, HSV and CMYK, and check its contrast.
Try #ff6347, rgb(255 99 71), hsl(9 100% 64%) or tomato.
How to use the Color Converter
- Enter a colorType a HEX code, rgb(), hsl() or a name like “tomato”, or use the color picker.
- See every formatHEX, RGB, HSL, HSV and CMYK update instantly.
- Copy and checkCopy any format, and check the contrast scores before using the color behind text.
Example
#0E5E6F = rgb(14, 94, 111) = hsl(191, 78%, 25%)
tomato = #FF6347 = hsl(9, 100%, 64%)
Frequently asked questions
What is the difference between RGB and HEX?
They describe the same color. RGB gives red, green and blue as numbers from 0 to 255; HEX writes those same three numbers in base 16, such as #FF6347.
Why is CMYK only approximate?
CMYK depends on the printer, ink and paper. The values here are a standard mathematical conversion, good for a starting point; use your print shop’s color profile for exact results.
What do AA and AAA mean?
They are WCAG accessibility levels for text contrast. AA needs at least 4.5:1 for normal text; AAA needs 7:1. “AA large” means it only passes for large or bold text.