#9E1B6D#9E1B6D

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

Color values

HEX#9E1B6D
RGBrgb(158, 27, 109)
HSLhsl(322, 71%, 36%)
HSVhsv(322, 83%, 62%)
CMYKcmyk(0%, 82.9%, 31%, 38%)
CIE-LABlab(36.29, 57.72, -13.88)
CIE-LCHlch(36.29, 59.37, 346.48°)
OKLaboklab(47.47% 0.1765 -0.0365)
OKLCHoklch(47.47% 0.18 348.3)
XYZxyz(17.2537, 9.1592, 15.3243)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B6D #1B9E4C
analogous
#8E1B9E #9E1B6D #9E1B2B
triadic
#9E1B6D #6D9E1B #1B6D9E
tetradic
#9E1B6D #9E8E1B #1B9E4C #1B2B9E
square
#9E1B6D #9E8E1B #1B9E4C #1B2B9E
split-complementary
#9E1B6D #2B9E1B #1B9E8E
monochromatic
#350925 #6A1249 #9E1B6D #D22491 #E152AC

Accessibility & contrast

On white

7.42
#9E1B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9E1B6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B6D
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B6D#FFFFFF#000000##FFFFFF
##9E1B6D1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32476F
Deuteranopia (green-blind)
#595D6A
Tritanopia (blue-blind)
#AA1243
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e1b6d;
/* rgb */ color: rgb(158, 27, 109);
/* oklch */ color: oklch(47.5% 0.180 348.3);
Tailwind
colors: {
  custom: {
    50: '#bf6897',
    500: '#9e1b6d',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b6d;
$custom-light: #bf6897;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b6d",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 109
  },
  "hsl": {
    "h": 322.443,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47472,
    "c": 0.18027,
    "h": 348.3
  },
  "luminance": 0.09157
}

Semantic roles & 50–950 ramp

primary
#9E1B6D
secondary
#51C47C
accent
#EE7D3A
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E1B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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