HSL to HEX: #FF6467

Also known as: Tailwind red-400

Result

hsl(358.84 100.00% 69.61%) → #FF6467

Values are shown at full precision, so converting back gives exactly #ff6467. The rounded form is what you normally paste into CSS.

Step-by-step math

Every number below is computed from the input, nothing is looked up.

  1. 1. input

    H = 358.84°, S = 100.00%, L = 69.61%
  2. 2. C

    C = (1 − |2L − 1|) × S = 0.60780
  3. 3. X

    X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.01175   (H / 60° = 5.9807, sector 5)
  4. 4. m

    m = L − C / 2 = 0.39220
  5. 5. (R′, G′, B′) + m

    (R′, G′, B′) = (0.60780, 0.00000, 0.01175)
    R = round((0.60780 + 0.39220) × 255) = 255
    G = round((0.00000 + 0.39220) × 255) = 100
    B = round((0.01175 + 0.39220) × 255) = 103
  6. 6. RGB → HEX

    #FF6467

All formats

HEX
#ff6467
RGB
rgb(255 100 103)
RGB (legacy)
rgb(255, 100, 103)
HSL
hsl(358.84 100.00% 69.61%) → hsl(359 100% 70%)
HWB
hwb(359 39% 0%)
OKLCH
oklch(0.702 0.189 22.2) · oklch(70.2% 0.189 22.2)
OKLab
oklab(0.702 0.175 0.072)
Lab (D50)
lab(63.51 60.17 31.00)
LCH (D50)
lch(63.51 67.69 27.26)
Display P3
color(display-p3 0.9285 0.4320 0.4233)
Linear sRGB
color(srgb-linear 1.0000 0.1274 0.1356)

Gamut: sRGB and Display P3

#FF6467 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.189 and Display P3 reaches 0.241; this color uses 100% of the sRGB chroma available.

CSS snippets

.element {
  color: #ff6467;
  color: rgb(255 100 103);
  color: hsl(359 100% 70%);
  color: oklch(0.702 0.189 22.2);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.702 0.189 22.2);
}
/* arbitrary values */
class="text-[#ff6467] bg-[oklch(0.702_0.189_22.2)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9285 0.4320 0.4233); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #ff6467 calc(l - 0.1) c h); }

Nearby colors

Closest colors in the Tailwind and CSS named palettes (OKLab distance).

Lighter and darker, same hue and chroma

  • #FF7879 · oklch(0.762 0.189 22.2) · ΔL +0.06
  • #E95055 · oklch(0.642 0.189 22.2) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?