HSL to HEX Converter
Convert HSL colors to HEX instantly. Paste a value below and copy the result.
Also in
About this conversion
HSL expresses a color as hue (0-360° on the color wheel), saturation, and lightness percentages. It is far more intuitive to adjust than RGB: shifting lightness or saturation keeps the same base hue, which makes HSL popular for building color variations by hand.
HEX is the most common way to write colors on the web: a # followed by six hexadecimal digits, two each for the red, green, and blue channels (00-FF). Shorthand three-digit codes like #FA0 expand each digit, and the format maps one-to-one to RGB.
To convert HSL to HEX, the color is first interpreted in the sRGB color space and then expressed in HEX notation. Paste a HSL value like hsl(205, 100%, 56%) above and copy the HEX result. The conversion happens instantly in your browser, and nothing is uploaded.