OKLCH to HEX: #BC8F8F

Also known as: CSS rosybrown

Result

oklch(0.69274 0.05480 18.565) → #BC8F8F

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. input

    oklch(0.69274 0.05480 18.565)
  2. 2. OKLCH → Oklab

    a = C·cos H = 0.05195
    b = C·sin H = 0.01745
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.717094
    m′ = L − 0.1056·a − 0.0639·b = 0.686142
    s′ = L − 0.0895·a − 1.2915·b = 0.665559
  4. 4. cube

    l = 0.717094³ = 0.368747
    m = 0.686142³ = 0.323030
    s = 0.665559³ = 0.294821
  5. 5. LMS → linear sRGB

    R = 4.0767·l − 3.3077·m + 0.2310·s = 0.502893
    G = −1.2684·l + 2.6098·m − 0.3413·s = 0.274668
    B = −0.0042·l − 0.7034·m + 1.7076·s = 0.274669
  6. 6. linear → sRGB, × 255

    R = 0.73726 × 255 = 188.00 → 188
    G = 0.56078 × 255 = 143.00 → 143
    B = 0.56078 × 255 = 143.00 → 143
  7. 7. RGB → HEX

    #BC8F8F

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?