#9E1B4B#9E1B4B

#9E1B4B is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.167 H 5.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9E1B4B
RGBrgb(158, 27, 75)
HSLhsl(338, 71%, 36%)
HSVhsv(338, 83%, 62%)
CMYKcmyk(0%, 82.9%, 52.5%, 38%)
CIE-LABlab(35.13, 54.33, 6.25)
CIE-LCHlch(35.13, 54.69, 6.56°)
OKLaboklab(46.25% 0.1661 0.0163)
OKLCHoklch(46.25% 0.167 5.6)
XYZxyz(15.7639, 8.5632, 7.4780)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B4B #1B9E6E
analogous
#9E1B8D #9E1B4B #9E2C1B
triadic
#9E1B4B #4B9E1B #1B4B9E
tetradic
#9E1B4B #8D9E1B #1B9E6E #2C1B9E
square
#9E1B4B #8D9E1B #1B9E6E #2C1B9E
split-complementary
#9E1B4B #1B9E2C #1B8D9E
monochromatic
#350919 #6A1232 #9E1B4B #D22464 #E15287

Accessibility & contrast

On white

7.74
#9E1B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9E1B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B4B
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B4B#FFFFFF#000000##FFFFFF
##9E1B4B1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F424C
Deuteranopia (green-blind)
#615C48
Tritanopia (blue-blind)
#AD0031
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1b4b;
/* rgb */ color: rgb(158, 27, 75);
/* oklch */ color: oklch(46.2% 0.167 5.6);
Tailwind
colors: {
  custom: {
    50: '#c1677d',
    500: '#9e1b4b',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b4b;
$custom-light: #c1677d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b4b",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 338.015,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46248,
    "c": 0.16694,
    "h": 5.6
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#9E1B4B
secondary
#51C49A
accent
#EEAC3A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E1B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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