HEX to RGB: #E9967A

Also known as: CSS darksalmon

Result

#E9967A → rgb(233 150 122)

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

    #E9967A → E9 | 96 | 7A
  2. 2. base 16 → base 10

    R = E9₁₆ = 14×16 + 9 = 233
    G = 96₁₆ = 9×16 + 6 = 150
    B = 7A₁₆ = 7×16 + 10 = 122
  3. 3. RGB

    rgb(233 150 122)

All formats

HEX
#e9967a
RGB
rgb(233 150 122)
RGB (legacy)
rgb(233, 150, 122)
HSL
hsl(15.14 71.61% 69.61%) → hsl(15 72% 70%)
HWB
hwb(15 48% 9%)
OKLCH
oklch(0.751 0.108 39.4) · oklch(75.1% 0.108 39.4)
OKLab
oklab(0.751 0.084 0.069)
Lab (D50)
lab(70.30 29.89 28.41)
LCH (D50)
lch(70.30 41.23 43.54)
Display P3
color(display-p3 0.8673 0.6029 0.4991)
Linear sRGB
color(srgb-linear 0.8148 0.3050 0.1946)

Gamut: sRGB and Display P3

#E9967A is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.155 and Display P3 reaches 0.197; this color uses 70% of the sRGB chroma available.

CSS snippets

.element {
  color: #e9967a;
  color: rgb(233 150 122);
  color: hsl(15 72% 70%);
  color: oklch(0.751 0.108 39.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.751 0.108 39.4);
}
/* arbitrary values */
class="text-[#e9967a] bg-[oklch(0.751_0.108_39.4)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.8673 0.6029 0.4991); }
}

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

  • #FEA98C · oklch(0.811 0.108 39.4) · ΔL +0.06
  • #D58368 · oklch(0.691 0.108 39.4) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?