HEX to HSL Converter

Paste a hex color and read it as hue, saturation and lightness — the most intuitive way to tweak a color. Plus RGB, CMYK and the nearest real paint.

Example: #1ABC9C in HSL is hsl(168, 76%, 42%).

Accepts HEX, RGB, RGBA, HSL, HSV, CMYK or a color name.

Nearest real paint

Closest match per brand by ΔE. Tap to open the full color page with where-to-buy. Want a whole scheme? Open the combination generator.

Paste your hex code into the box.

Read HSL — hue in degrees (0–360), saturation and lightness as percentages.

Copy the hsl(…) string, or use RGB, CMYK and the paint match.

ColorHEXHSL
Red #FF0000 hsl(0, 100%, 50%)
Orange #FFA500 hsl(39, 100%, 50%)
Yellow #FFFF00 hsl(60, 100%, 50%)
Green #008000 hsl(120, 100%, 25%)
Blue #0000FF hsl(240, 100%, 50%)
Navy #000080 hsl(240, 100%, 25%)
Sky Blue #87CEEB hsl(197, 71%, 73%)
Teal #008080 hsl(180, 100%, 25%)
Purple #800080 hsl(300, 100%, 25%)
Pink #FFC0CB hsl(350, 100%, 88%)
Brown #A52A2A hsl(0, 59%, 41%)
Beige #F5F5DC hsl(60, 56%, 91%)
White #FFFFFF hsl(0, 0%, 100%)
Grey #808080 hsl(0, 0%, 50%)
Black #000000 hsl(0, 0%, 0%)
Gold #FFD700 hsl(51, 100%, 50%)
Built by DSGN.HOUSE Updated 2026

Our color tools run on our own catalogue of 26,000+ real paint colors across 16 brands — Benjamin Moore, Sherwin-Williams, Behr, Dulux, RAL and more — with the color math (HSL and CIELAB matching) computed in-house, not scraped from summaries. Every color you pick maps to a real, buyable paint with its code, so what you see here you can actually take to the store. We review and update these tools and their data regularly.

Created by Denis Kataev, founder of DSGN.HOUSE — a software engineer and digital entrepreneur building professional color-design tools for everyone.

How do I convert HEX to HSL?+

Read the hex as RGB, then derive hue from which channel is largest, saturation from the spread, and lightness from the midpoint. Paste any hex above for the exact HSL.

Does this converter find a matching paint color?+

Yes — under the result it shows the nearest real paint across 16 brands (Benjamin Moore, Sherwin-Williams, Behr, Dulux and more) with its code and where to buy, so you can take any color straight to a can.

Why use HSL instead of hex?+

HSL is easier to adjust by hand — nudge hue to shift the color, saturation to mute or boost it, lightness for tints and shades. The converter shows both so you can switch freely.

Does the converter work both ways?+

Yes — every pair is two-way. Convert in either direction, and the reverse converter is linked under 'Other converters'.