#9E157D#9E157D

#9E157D is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.9% C 0.194 H 340.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9E157D
RGBrgb(158, 21, 125)
HSLhsl(314, 77%, 35%)
HSVhsv(314, 87%, 62%)
CMYKcmyk(0%, 86.7%, 20.9%, 38%)
CIE-LABlab(36.53, 61.07, -23.57)
CIE-LCHlch(36.53, 65.46, 338.90°)
OKLaboklab(47.88% 0.1834 -0.0636)
OKLCHoklch(47.88% 0.194 340.9)
XYZxyz(18.0710, 9.2880, 20.2392)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E157D #159E36
analogous
#7B159E #9E157D #9E1538
triadic
#9E157D #7D9E15 #157D9E
tetradic
#9E157D #9E7B15 #159E36 #15389E
square
#9E157D #9E7B15 #159E36 #15389E
split-complementary
#9E157D #389E15 #159E7B
monochromatic
#320728 #680E52 #9E157D #D41CA8 #E747C0

Accessibility & contrast

On white

7.35
#9E157D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9E157D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E157D
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E157D#FFFFFF#000000##FFFFFF
##9E157D1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244880
Deuteranopia (green-blind)
#525D7A
Tritanopia (blue-blind)
#A81A4A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e157d;
/* rgb */ color: rgb(158, 21, 125);
/* oklch */ color: oklch(47.9% 0.194 340.9);
Tailwind
colors: {
  custom: {
    50: '#bf67a3',
    500: '#9e157d',
    950: '#000000',
  },
}
SCSS
$custom: #9e157d;
$custom-light: #bf67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e157d",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 125
  },
  "hsl": {
    "h": 314.453,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47881,
    "c": 0.19412,
    "h": 340.9
  },
  "luminance": 0.09286
}

Semantic roles & 50–950 ramp

primary
#9E157D
secondary
#47C766
accent
#F36335
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E157D

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

Preview Lab → · Contrast checker → · Palette generator →

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