HWB to HSL Color Converter

Enter HWB color values and instantly get the equivalent HSL representation with a live color preview.

HWB Input

180°
40%
20%

Color Preview

hsl(180, 50%, 40%)

HSL Output

Hue
180
°
Saturation
50
%
Lightness
40
%
hsl(180, 50%, 40%)

Summary

Enter HWB color values and instantly get the equivalent HSL representation with a live color preview.

How it works

  1. Enter the hue angle (0–360), whiteness percentage (0–100), and blackness percentage (0–100).
  2. If whiteness + blackness exceeds 100, they are normalized proportionally.
  3. The tool converts HWB to RGB first using the standard formula, then derives HSL from RGB.
  4. The result shows the HSL values and a live color preview swatch.
  5. Copy the HSL string directly to use in your CSS or design application.

Use cases

  • Convert CSS Color Level 4 HWB values to widely-supported HSL format.
  • Translate design tool HWB exports to HSL for use in stylesheets.
  • Understand the relationship between HWB and HSL color models.
  • Quickly preview a color defined in HWB before using it in code.
  • Verify color conversions when building themes or design systems.
  • Learn color theory by experimenting with whiteness and blackness mixing.

Frequently Asked Questions

Last updated: 2026-07-01 · Reviewed by Nham Vu