RGB to HEX: #E8E4E3

Also known as: Tailwind taupe-200

Result

rgb(232 228 227) → #E8E4E3

Values are shown at full precision, so converting back gives exactly #e8e4e3. 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. base 10 → base 16

    R = 232 = 14×16 + 8 → E8
    G = 228 = 14×16 + 4 → E4
    B = 227 = 14×16 + 3 → E3
  2. 2. pairs → HEX

    E8 E4 E3 → #E8E4E3

All formats

HEX
#e8e4e3
RGB
rgb(232 228 227)
RGB (legacy)
rgb(232, 228, 227)
HSL
hsl(12.00 9.80% 90.00%) → hsl(12 10% 90%)
HWB
hwb(12 89% 9%)
OKLCH
oklch(0.922 0.005 34.3) · oklch(92.2% 0.005 34.3)
OKLab
oklab(0.922 0.004 0.003)
Lab (D50)
lab(90.88 1.27 0.99)
LCH (D50)
lch(90.88 1.61 38.05)
Display P3
color(display-p3 0.9070 0.8946 0.8908)
Linear sRGB
color(srgb-linear 0.8070 0.7758 0.7682)

Gamut: sRGB and Display P3

#E8E4E3 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.041 and Display P3 reaches 0.053; this color uses 11% of the sRGB chroma available.

CSS snippets

.element {
  color: #e8e4e3;
  color: rgb(232 228 227);
  color: hsl(12 10% 90%);
  color: oklch(0.922 0.005 34.3);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.922 0.005 34.3);
}
/* arbitrary values */
class="text-[#e8e4e3] bg-[oklch(0.922_0.005_34.3)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9070 0.8946 0.8908); }
}

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

  • #FCF8F7 · oklch(0.982 0.005 34.3) · ΔL +0.06
  • #D4D0CF · oklch(0.862 0.005 34.3) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?