HEX to OKLCH: #BC8F8F
Also known as: CSS rosybrown
Result
#BC8F8F → oklch(0.693 0.055 18.6)
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. sRGB → linear
R: 188/255 = 0.73725 → 0.502886 (((x + 0.055) / 1.055)^2.4) G: 143/255 = 0.56078 → 0.274677 (((x + 0.055) / 1.055)^2.4) B: 143/255 = 0.56078 → 0.274677 (((x + 0.055) / 1.055)^2.4)
2. linear sRGB → LMS
l = 0.4122·R + 0.5363·G + 0.0514·B = 0.368750 m = 0.2119·R + 0.6807·G + 0.1074·B = 0.323036 s = 0.0883·R + 0.2817·G + 0.6300·B = 0.294829
3. cube root
l′ = ∛0.368750 = 0.717096 m′ = ∛0.323036 = 0.686146 s′ = ∛0.294829 = 0.665564
4. LMS′ → Oklab
L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.69274 a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = 0.05194 b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = 0.01745
5. Oklab → OKLCH
C = √(a² + b²) = 0.05480 H = atan2(b, a) = 18.565° L = 0.69274
6. OKLCH
oklch(0.69274 0.05480 18.565) rounded: oklch(0.693 0.055 18.6)
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).
- taupe-400#ABA09C
- mauve-400#A89EA9
- stone-400#A6A09B
- v3 stone-400#A8A29E
- neutral-400#A1A1A1
- zinc-400#9F9FA9
- v3 neutral-400#A3A3A3
- v3 zinc-400#A1A1AA
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
Guides: What is OKLCH?