#9E1B4D#9E1B4D

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

Color values

HEX#9E1B4D
RGBrgb(158, 27, 77)
HSLhsl(337, 71%, 36%)
HSVhsv(337, 83%, 62%)
CMYKcmyk(0%, 82.9%, 51.3%, 38%)
CIE-LABlab(35.18, 54.49, 5.03)
CIE-LCHlch(35.18, 54.72, 5.27°)
OKLaboklab(46.31% 0.1669 0.0133)
OKLCHoklch(46.31% 0.167 4.6)
XYZxyz(15.8335, 8.5910, 7.8442)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B4D #1B9E6C
analogous
#9E1B8F #9E1B4D #9E2A1B
triadic
#9E1B4D #4D9E1B #1B4D9E
tetradic
#9E1B4D #8F9E1B #1B9E6C #2A1B9E
square
#9E1B4D #8F9E1B #1B9E6C #2A1B9E
split-complementary
#9E1B4D #1B9E2A #1B8F9E
monochromatic
#35091A #6A1234 #9E1B4D #D22466 #E15289

Accessibility & contrast

On white

7.73
#9E1B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9E1B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B4D
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B4D#FFFFFF#000000##FFFFFF
##9E1B4D1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424E
Deuteranopia (green-blind)
#605C4A
Tritanopia (blue-blind)
#AC0032
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1b4d;
/* rgb */ color: rgb(158, 27, 77);
/* oklch */ color: oklch(46.3% 0.167 4.6);
Tailwind
colors: {
  custom: {
    50: '#c1677e',
    500: '#9e1b4d',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b4d;
$custom-light: #c1677e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b4d",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 337.099,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46307,
    "c": 0.16742,
    "h": 4.6
  },
  "luminance": 0.08589
}

Semantic roles & 50–950 ramp

primary
#9E1B4D
secondary
#51C498
accent
#EEA93A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E1B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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