#9E1D6B#9E1D6B

#9E1D6B is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.177 H 349.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9E1D6B
RGBrgb(158, 29, 107)
HSLhsl(324, 69%, 37%)
HSVhsv(324, 82%, 62%)
CMYKcmyk(0%, 81.6%, 32.3%, 38%)
CIE-LABlab(36.39, 56.97, -12.46)
CIE-LCHlch(36.39, 58.32, 347.66°)
OKLaboklab(47.52% 0.1745 -0.0326)
OKLCHoklch(47.52% 0.177 349.4)
XYZxyz(17.1947, 9.2114, 14.7796)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D6B #1D9E50
analogous
#911D9E #9E1D6B #9E1D2B
triadic
#9E1D6B #6B9E1D #1D6B9E
tetradic
#9E1D6B #9E911D #1D9E50 #1D2B9E
square
#9E1D6B #9E911D #1D9E50 #1D2B9E
split-complementary
#9E1D6B #2B9E1D #1D9E91
monochromatic
#370A25 #6A1448 #9E1D6B #D2268E #E056A9

Accessibility & contrast

On white

7.39
#9E1D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9E1D6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D6B
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D6B#FFFFFF#000000##FFFFFF
##9E1D6B1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34476D
Deuteranopia (green-blind)
#5A5E68
Tritanopia (blue-blind)
#AA1342
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1d6b;
/* rgb */ color: rgb(158, 29, 107);
/* oklch */ color: oklch(47.5% 0.177 349.4);
Tailwind
colors: {
  custom: {
    50: '#bf6995',
    500: '#9e1d6b',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d6b;
$custom-light: #bf6995;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d6b",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 107
  },
  "hsl": {
    "h": 323.721,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47518,
    "c": 0.17747,
    "h": 349.4
  },
  "luminance": 0.09209
}

Semantic roles & 50–950 ramp

primary
#9E1D6B
secondary
#54C380
accent
#EC813C
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E1D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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