#9E157E#9E157E

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

Color values

HEX#9E157E
RGBrgb(158, 21, 126)
HSLhsl(314, 77%, 35%)
HSVhsv(314, 87%, 62%)
CMYKcmyk(0%, 86.7%, 20.3%, 38%)
CIE-LABlab(36.58, 61.20, -24.12)
CIE-LCHlch(36.58, 65.78, 338.50°)
OKLaboklab(47.93% 0.1835 -0.0652)
OKLCHoklch(47.93% 0.195 340.4)
XYZxyz(18.1352, 9.3137, 20.5773)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E157E #159E35
analogous
#7A159E #9E157E #9E1539
triadic
#9E157E #7E9E15 #157E9E
tetradic
#9E157E #9E7A15 #159E35 #15399E
square
#9E157E #9E7A15 #159E35 #15399E
split-complementary
#9E157E #399E15 #159E7A
monochromatic
#320728 #680E53 #9E157E #D41CA9 #E747C1

Accessibility & contrast

On white

7.34
#9E157E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E157E
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E157E#FFFFFF#000000##FFFFFF
##9E157E1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234981
Deuteranopia (green-blind)
#525E7B
Tritanopia (blue-blind)
#A81B4B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e157e;
/* rgb */ color: rgb(158, 21, 126);
/* oklch */ color: oklch(47.9% 0.195 340.4);
Tailwind
colors: {
  custom: {
    50: '#bf67a3',
    500: '#9e157e',
    950: '#000000',
  },
}
SCSS
$custom: #9e157e;
$custom-light: #bf67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e157e",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 126
  },
  "hsl": {
    "h": 314.015,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47931,
    "c": 0.19475,
    "h": 340.4
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#9E157E
secondary
#47C765
accent
#F36135
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E157E

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

Preview Lab → · Contrast checker → · Palette generator →

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