What is the HSL to RGB Converter?
Convert HSL color values to RGB and HEX. HSL describes color by hue, saturation and lightness, which makes adjustments intuitive, while RGB is what many apps and devices expect.

How to use the HSL to RGB Converter
- Enter your hue, your saturation, your lightness.
- Results update automatically as you type; you can also press Calculate.
- Read the output: rgb, hex.
- Use the 📊 chart to see the result visually, then copy or share it.
Formula and method
Worked example
With hue = 220, saturation = 65, lightness = 51, the HSL to RGB Converter returns rgb: rgb(49, 103, 211); hex: #3167d3.
Where the HSL to RGB Converter helps in real life
You adjusted a color’s lightness in CSS using HSL and need the RGB values for a design file. Converting gives exact numbers.
You are building a color scale by changing lightness in HSL. Converting each step gives RGB and HEX values for documentation.
Common mistakes to avoid
- Entering hue as a percentage instead of degrees.
- Swapping saturation and lightness values.
- Rounding RGB values too early.
- Skipping a contrast check after adjusting lightness.
💡 Practical tip: Changing only the lightness value in HSL is an easy way to create lighter or darker versions of a color.

Tips for better results
- Keep hue fixed and change lightness to create shades.
- Save final values in RGB and HEX.
- Check contrast whenever lightness changes.
Frequently asked questions
What does the HSL to RGB Converter do?
Convert HSL color values to RGB and HEX.
How is it calculated?
The HSL to RGB Converter uses this method: Standard HSL → RGB conversion (CSS Color Module).
Can you show an example?
With hue = 220, saturation = 65, lightness = 51, the HSL to RGB Converter returns rgb: rgb(49, 103, 211); hex: #3167d3.
Is the HSL to RGB Converter accurate?
Yes. It uses standard formulas and exact constants, and the results are verified by our automated test suite. Values are displayed to up to 12 significant digits.
Is this tool free and private?
Yes — the HSL to RGB Converter is completely free with no sign-up, and it runs entirely in your browser, so the values you enter are never uploaded to our servers.
Related tools
📬 Get new tools first — free
Join Taurang to hear about new calculators, converters and features. No spam; unsubscribe anytime.