HSL to RGB
Every color format describes the same thing in a different language: HEX for stylesheets, RGB for screens and code, HSL for building palettes, CMYK for print. Pick the conversion you need and get the exact value, a live preview and the formula behind it.
This color in every format
The same color written as HEX, RGB, HSL and CMYK. Copy any value.
HSL to RGB conversion
Every conversion first normalises HSL into an sRGB triplet — red, green and blue on a 0–255 scale — and then encodes that triplet as RGB. Both notations describe the same pixel, so the visible color does not change.
Read the input
Split the HSL value into its channels (hex digit pairs, numbers or percentages).
Normalise to sRGB
Scale each channel onto 0–255 so rounding differences do not accumulate.
Encode RGB
Write the result in RGB notation and copy it into your stylesheet or design tool.
Formula
hsl(9, 100%, 60%) → sRGB rgb(255,87,51) → RGB rgb(255,87,51)
Worked example
hsl(9, 100%, 60%) = #FF5733 = rgb(255,87,51)
Values are rounded to whole channels; convert back with the same tool to avoid drift.
HSL to RGB reference table
Common values converted with the same formula.
| Input (HSL) | Result (RGB) | |
|---|---|---|
hsl(11, 100%, 60%) | rgb(255,87,51) | |
hsl(243, 75%, 59%) | rgb(79,70,229) | |
hsl(145, 63%, 49%) | rgb(46,204,113) | |
hsl(204, 70%, 53%) | rgb(52,152,219) | |
hsl(6, 78%, 57%) | rgb(231,76,60) | |
hsl(172, 75%, 39%) | rgb(25,174,153) | |
hsl(283, 39%, 53%) | rgb(155,89,182) | |
hsl(37, 90%, 51%) | rgb(243,156,18) | |
hsl(210, 29%, 29%) | rgb(52,73,94) | |
hsl(340, 82%, 52%) | rgb(233,31,99) | |
hsl(0, 0%, 0%) | rgb(0,0,0) | |
hsl(0, 0%, 100%) | rgb(255,255,255) |