#9E5E8D#9E5E8D

#9E5E8D is a mid, moderate pink. Relative luminance 0.172; OKLCH L 56.9% C 0.104 H 337.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9E5E8D
RGBrgb(158, 94, 141)
HSLhsl(316, 25%, 49%)
HSVhsv(316, 41%, 62%)
CMYKcmyk(0%, 40.5%, 10.8%, 38%)
CIE-LABlab(48.51, 33.12, -14.90)
CIE-LCHlch(48.51, 36.31, 335.77°)
OKLaboklab(56.93% 0.096 -0.0399)
OKLCHoklch(56.93% 0.104 337.4)
XYZxyz(22.9110, 17.1989, 27.3071)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5E8D #5E9E6F
analogous
#8F5E9E #9E5E8D #9E5E6D
triadic
#9E5E8D #8D9E5E #5E8D9E
tetradic
#9E5E8D #9E8F5E #5E9E6F #5E6D9E
square
#9E5E8D #9E8F5E #5E9E6F #5E6D9E
split-complementary
#9E5E8D #6D9E5E #5E9E8F
monochromatic
#513049 #78476B #9E5E8D #B684A8 #CCAAC3

Accessibility & contrast

On white

4.73
#9E5E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9E5E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E5E8D
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5E8D#FFFFFF#000000##FFFFFF
##9E5E8D1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6D8F
Deuteranopia (green-blind)
#70778B
Tritanopia (blue-blind)
#A4606F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e5e8d;
/* rgb */ color: rgb(158, 94, 141);
/* oklch */ color: oklch(56.9% 0.104 337.4);
Tailwind
colors: {
  custom: {
    50: '#bc8dae',
    500: '#9e5e8d',
    950: '#000000',
  },
}
SCSS
$custom: #9e5e8d;
$custom-light: #bc8dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5e8d",
  "rgb": {
    "r": 158,
    "g": 94,
    "b": 141
  },
  "hsl": {
    "h": 315.938,
    "s": 25.397,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56932,
    "c": 0.104,
    "h": 337.4
  },
  "luminance": 0.17198
}

Semantic roles & 50–950 ramp

primary
#9E5E8D
secondary
#9DBBA5
accent
#C27E66
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#120C10
muted
#817D7F

Preview Lab

Preview with #9E5E8D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9E5E8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva