HEX to HSL: #431407

Also known as: Tailwind v3 orange-950

Result

#431407 → hsl(13 81% 15%)

Values are shown at full precision, so converting back gives exactly #431407. 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. RGB ÷ 255

    R = 0.2627
    G = 0.0784
    B = 0.0275
  2. 2. max, min, Δ

    max = 0.2627
    min = 0.0275
    Δ = max − min = 0.2353
  3. 3. L

    L = (max + min) / 2 = 0.1451 = 14.51%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.8108 = 81.08%
  5. 5. H

    max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.0784 − 0.0275) / 0.2353) mod 6) = 13.00°
  6. 6. HSL

    hsl(13.00 81.08% 14.51%)

All formats

HEX
#431407
RGB
rgb(67 20 7)
RGB (legacy)
rgb(67, 20, 7)
HSL
hsl(13.00 81.08% 14.51%) → hsl(13 81% 15%)
HWB
hwb(13 3% 74%)
OKLCH
oklch(0.266 0.076 36.3) · oklch(26.6% 0.076 36.3)
OKLab
oklab(0.266 0.061 0.045)
Lab (D50)
lab(14.19 22.57 18.85)
LCH (D50)
lch(14.19 29.41 39.86)
Display P3
color(display-p3 0.2412 0.0906 0.0438)
Linear sRGB
color(srgb-linear 0.0561 0.0070 0.0021)

Gamut: sRGB and Display P3

#431407 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.091 and Display P3 reaches 0.102; this color uses 84% of the sRGB chroma available.

CSS snippets

.element {
  color: #431407;
  color: rgb(67 20 7);
  color: hsl(13 81% 15%);
  color: oklch(0.266 0.076 36.3);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.266 0.076 36.3);
}
/* arbitrary values */
class="text-[#431407] bg-[oklch(0.266_0.076_36.3)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.2412 0.0906 0.0438); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #431407 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

  • #542416 · oklch(0.326 0.076 36.3) · ΔL +0.06
  • #320400 · oklch(0.206 0.076 36.3) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?