#9E1B6C#9E1B6C

#9E1B6C is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.180 H 348.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#9E1B6C
RGBrgb(158, 27, 108)
HSLhsl(323, 71%, 36%)
HSVhsv(323, 83%, 62%)
CMYKcmyk(0%, 82.9%, 31.6%, 38%)
CIE-LABlab(36.25, 57.61, -13.31)
CIE-LCHlch(36.25, 59.12, 346.99°)
OKLaboklab(47.43% 0.1763 -0.0349)
OKLCHoklch(47.43% 0.18 348.8)
XYZxyz(17.2002, 9.1377, 15.0424)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B6C #1B9E4D
analogous
#8F1B9E #9E1B6C #9E1B2A
triadic
#9E1B6C #6C9E1B #1B6C9E
tetradic
#9E1B6C #9E8F1B #1B9E4D #1B2A9E
square
#9E1B6C #9E8F1B #1B9E4D #1B2A9E
split-complementary
#9E1B6C #2A9E1B #1B9E8F
monochromatic
#350925 #6A1248 #9E1B6C #D22490 #E152AB

Accessibility & contrast

On white

7.43
#9E1B6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1B6C
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B6C#FFFFFF#000000##FFFFFF
##9E1B6C1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476E
Deuteranopia (green-blind)
#595D69
Tritanopia (blue-blind)
#AA1142
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e1b6c;
/* rgb */ color: rgb(158, 27, 108);
/* oklch */ color: oklch(47.4% 0.180 348.8);
Tailwind
colors: {
  custom: {
    50: '#bf6896',
    500: '#9e1b6c',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b6c;
$custom-light: #bf6896;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b6c",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 108
  },
  "hsl": {
    "h": 322.901,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4743,
    "c": 0.17974,
    "h": 348.8
  },
  "luminance": 0.09136
}

Semantic roles & 50–950 ramp

primary
#9E1B6C
secondary
#51C47D
accent
#EE7F3A
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E1B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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