HSL to Hex converter.

Convert HSL to Hex instantly, with results for every other colour format too.

Going the other way? Convert Hex to HSL instead, or use the full colour converter for hex, RGB, CMYK, HSV and HSL.

Converting HSL to Hex

HSL is typically used for design systems and CSS, where lightening or darkening a colour while keeping its hue is common, while Hex is used for CSS, HTML and general web design, where a short, copy-pasteable code is useful. Enter a HSL value above and the equivalent Hex value appears instantly, alongside every other supported format.

Is HSL to Hex conversion exact?

This conversion is exact and lossless – hex, RGB, HSV and HSL all describe the same underlying colour space, just in different notations, so no colour data is lost converting between them.

Understanding HSL

HSL (hue, saturation, lightness) is similar to HSV but uses lightness instead of value. Lightness represents how much white or black is mixed with the pure colour, making it useful for creating colour variations.

Understanding Hex

Hex is a compact, web-friendly representation of RGB using hexadecimal notation (#RRGGBB). It's commonly used in HTML, CSS and web development where character count and readability matter. Both RGB and hex refer to the same colour space but present values differently – decimal versus base-16 encoding.

Need a full set of colours to go with this one? The colour palette generator builds a matching palette from any base colour. Once you've settled on your palette, the image converter can help you get your images ready to go alongside it.

No tools match your search.