How to use it
- Enter a colour
Paste #ff5733, rgb(255 87 51), hsl(), oklch() or a name like tomato, or use the picker.
- Copy the format you need
Each row has its own copy button. Values are rounded so they convert back to the same colour.
- Grab tints and shades
The 50–950 scale under the result gives lighter and darker versions with the same hue.
Which colour format should I use?
HEX (#ff5733) is the most compact and what design tools export. RGB says how much red, green and blue light to mix, from 0 to 255 each. HSL describes the same colour as hue (an angle on the colour wheel), saturation and lightness, which is easier to tweak by hand. HSV / HSB is the model Photoshop and Figma pickers use. All four describe exactly the same sRGB colours.
OKLCH is the modern option, supported in every current browser. Its lightness is perceptual: two colours with the same L look equally light, which is not true in HSL (yellow at 50% lightness looks far brighter than blue at 50%). That makes OKLCH the best space for building palettes, and it is how the tint and shade scale on this page is made.
What about CMYK?
The CMYK value here is the simple mathematical conversion. Real print colours depend on the printer, paper and ICC profile, so ask your printer for the exact values before a print run. Use it as a starting point, not a proof.
Colours outside sRGB
OKLCH and OKLab can describe colours that ordinary screens cannot show. If you paste one, we keep its lightness and hue and reduce the chroma until it fits sRGB, then tell you that it was adjusted. HEX, RGB and HSL can only hold sRGB colours.
Next steps
Check that text in your colour is readable with the contrast checker, blend it into a CSS gradient, or use it in a box-shadow.