#9E1E7B#9E1E7B

#9E1E7B is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.186 H 342.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9E1E7B
RGBrgb(158, 30, 123)
HSLhsl(316, 68%, 37%)
HSVhsv(316, 81%, 62%)
CMYKcmyk(0%, 81%, 22.2%, 38%)
CIE-LABlab(37.17, 58.70, -21.33)
CIE-LCHlch(37.17, 62.45, 340.03°)
OKLaboklab(48.31% 0.1767 -0.0573)
OKLCHoklch(48.31% 0.186 342)
XYZxyz(18.1406, 9.6296, 19.6384)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E7B #1E9E41
analogous
#811E9E #9E1E7B #9E1E3B
triadic
#9E1E7B #7B9E1E #1E7B9E
tetradic
#9E1E7B #9E811E #1E9E41 #1E3B9E
square
#9E1E7B #9E811E #1E9E41 #1E3B9E
split-complementary
#9E1E7B #3B9E1E #1E9E81
monochromatic
#370A2B #6B1453 #9E1E7B #D128A3 #DF57BA

Accessibility & contrast

On white

7.18
#9E1E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9E1E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1E7B
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E7B#FFFFFF#000000##FFFFFF
##9E1E7B1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4A7D
Deuteranopia (green-blind)
#555F78
Tritanopia (blue-blind)
#A8204B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1e7b;
/* rgb */ color: rgb(158, 30, 123);
/* oklch */ color: oklch(48.3% 0.186 342.0);
Tailwind
colors: {
  custom: {
    50: '#bf6aa1',
    500: '#9e1e7b',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e7b;
$custom-light: #bf6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e7b",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 316.406,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48308,
    "c": 0.18574,
    "h": 342
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#9E1E7B
secondary
#55C373
accent
#EB6C3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9E1E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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