OKLCH to HEX: #ABA09C

Also known as: Tailwind taupe-400

Result

oklch(0.71394 0.01414 41.161) → #ABA09C

Values are shown at full precision, so converting back gives exactly #aba09c. 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.71394 0.01414 41.161)
  2. 2. OKLCH → Oklab

    a = C·cos H = 0.01065
    b = C·sin H = 0.00931
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.720168
    m′ = L − 0.1056·a − 0.0639·b = 0.712222
    s′ = L − 0.0895·a − 1.2915·b = 0.700968
  4. 4. cube

    l = 0.720168³ = 0.373509
    m = 0.712222³ = 0.361282
    s = 0.700968³ = 0.344425
  5. 5. LMS → linear sRGB

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

    R = 0.67058 × 255 = 171.00 → 171
    G = 0.62745 × 255 = 160.00 → 160
    B = 0.61176 × 255 = 156.00 → 156
  7. 7. RGB → HEX

    #ABA09C

All formats

HEX
#aba09c
RGB
rgb(171 160 156)
RGB (legacy)
rgb(171, 160, 156)
HSL
hsl(16.00 8.20% 64.12%) → hsl(16 8% 64%)
HWB
hwb(16 61% 33%)
OKLCH
oklch(0.714 0.014 41.2) · oklch(71.4% 0.014 41.2)
OKLab
oklab(0.714 0.011 0.009)
Lab (D50)
lab(66.73 3.61 3.60)
LCH (D50)
lch(66.73 5.10 44.97)
Display P3
color(display-p3 0.6632 0.6289 0.6140)
Linear sRGB
color(srgb-linear 0.4072 0.3515 0.3325)

Gamut: sRGB and Display P3

#ABA09C is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.186 and Display P3 reaches 0.236; this color uses 8% of the sRGB chroma available.

CSS snippets

.element {
  color: #aba09c;
  color: rgb(171 160 156);
  color: hsl(16 8% 64%);
  color: oklch(0.714 0.014 41.2);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.714 0.014 41.2);
}
/* arbitrary values */
class="text-[#aba09c] bg-[oklch(0.714_0.014_41.2)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.6632 0.6289 0.6140); }
}

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

  • #BEB3AF · oklch(0.774 0.014 41.2) · ΔL +0.06
  • #988E8A · oklch(0.654 0.014 41.2) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?