HEX to RGB: #881337

Also known as: Tailwind v3 rose-900

Result

#881337 → rgb(136 19 55)

Values are shown at full precision, so converting back gives exactly #881337. 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. HEX → pairs

    #881337 → 88 | 13 | 37
  2. 2. base 16 → base 10

    R = 88₁₆ = 8×16 + 8 = 136
    G = 13₁₆ = 1×16 + 3 = 19
    B = 37₁₆ = 3×16 + 7 = 55
  3. 3. RGB

    rgb(136 19 55)

All formats

HEX
#881337
RGB
rgb(136 19 55)
RGB (legacy)
rgb(136, 19, 55)
HSL
hsl(341.54 75.48% 30.39%) → hsl(342 75% 30%)
HWB
hwb(342 7% 47%)
OKLCH
oklch(0.410 0.150 10.3) · oklch(41.0% 0.150 10.3)
OKLab
oklab(0.410 0.148 0.027)
Lab (D50)
lab(29.85 48.71 11.83)
LCH (D50)
lch(29.85 50.12 13.65)
Display P3
color(display-p3 0.4886 0.1256 0.2194)
Linear sRGB
color(srgb-linear 0.2462 0.0065 0.0382)

Gamut: sRGB and Display P3

#881337 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.164 and Display P3 reaches 0.185; this color uses 92% of the sRGB chroma available.

CSS snippets

.element {
  color: #881337;
  color: rgb(136 19 55);
  color: hsl(342 75% 30%);
  color: oklch(0.410 0.150 10.3);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.410 0.150 10.3);
}
/* arbitrary values */
class="text-[#881337] bg-[oklch(0.410_0.150_10.3)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.4886 0.1256 0.2194); }
}

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

  • #9C2A47 · oklch(0.470 0.150 10.3) · ΔL +0.06
  • #740028 · oklch(0.350 0.150 10.3) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?