HEX to HSL: #BC8F8F

Also known as: CSS rosybrown

Result

#BC8F8F → hsl(0 25% 65%)

Values are shown at full precision, so converting back gives exactly #bc8f8f. 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.7373
    G = 0.5608
    B = 0.5608
  2. 2. max, min, Δ

    max = 0.7373
    min = 0.5608
    Δ = max − min = 0.1765
  3. 3. L

    L = (max + min) / 2 = 0.6490 = 64.90%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.2514 = 25.14%
  5. 5. H

    max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.5608 − 0.5608) / 0.1765) mod 6) = 0.00°
  6. 6. HSL

    hsl(0.00 25.14% 64.90%)

All formats

HEX
#bc8f8f
RGB
rgb(188 143 143)
RGB (legacy)
rgb(188, 143, 143)
HSL
hsl(0.00 25.14% 64.90%) → hsl(0 25% 65%)
HWB
hwb(0 56% 26%)
OKLCH
oklch(0.693 0.055 18.6) · oklch(69.3% 0.055 18.6)
OKLab
oklab(0.693 0.052 0.017)
Lab (D50)
lab(63.79 17.56 6.96)
LCH (D50)
lch(63.79 18.88 21.62)
Display P3
color(display-p3 0.7100 0.5678 0.5644)
Linear sRGB
color(srgb-linear 0.5029 0.2747 0.2747)

Gamut: sRGB and Display P3

#BC8F8F is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.198 and Display P3 reaches 0.253; this color uses 28% of the sRGB chroma available.

CSS snippets

.element {
  color: #bc8f8f;
  color: rgb(188 143 143);
  color: hsl(0 25% 65%);
  color: oklch(0.693 0.055 18.6);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.693 0.055 18.6);
}
/* arbitrary values */
class="text-[#bc8f8f] bg-[oklch(0.693_0.055_18.6)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.7100 0.5678 0.5644); }
}

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

  • #CFA1A1 · oklch(0.753 0.055 18.6) · ΔL +0.06
  • #A97D7D · oklch(0.633 0.055 18.6) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?