HEX to HSL Converter

Convert any HEX color to HSL (hue, saturation, lightness).

HSL
hsl(172, 53%, 32%)

What is HSL?

HSL stands for Hue, Saturation and Lightness. Hue is the base color angle (0–360°). Saturation is intensity (0–100%). Lightness is how light or dark the color appears (0–100%). HSL is more intuitive than RGB for manual color tuning.

Examples

HEXHSL
#FF0000hsl(0, 100%, 50%)
#FFFFFFhsl(0, 0%, 100%)
#267D70hsl(172, 53%, 32%)

FAQ

Why is the hue 0 for white and black?

Because white and black have zero saturation — hue is undefined but conventionally reported as 0.

Related tools