#9E1B4A#9E1B4A

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

Color values

HEX#9E1B4A
RGBrgb(158, 27, 74)
HSLhsl(338, 71%, 36%)
HSVhsv(338, 83%, 62%)
CMYKcmyk(0%, 82.9%, 53.2%, 38%)
CIE-LABlab(35.10, 54.25, 6.86)
CIE-LCHlch(35.10, 54.68, 7.21°)
OKLaboklab(46.22% 0.1658 0.0178)
OKLCHoklch(46.22% 0.167 6.1)
XYZxyz(15.7300, 8.5496, 7.2992)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B4A #1B9E6F
analogous
#9E1B8C #9E1B4A #9E2D1B
triadic
#9E1B4A #4A9E1B #1B4A9E
tetradic
#9E1B4A #8C9E1B #1B9E6F #2D1B9E
square
#9E1B4A #8C9E1B #1B9E6F #2D1B9E
split-complementary
#9E1B4A #1B9E2D #1B8C9E
monochromatic
#350919 #6A1232 #9E1B4A #D22462 #E15285

Accessibility & contrast

On white

7.75
#9E1B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1B4A
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B4A#FFFFFF#000000##FFFFFF
##9E1B4A1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F424B
Deuteranopia (green-blind)
#615C47
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1b4a;
/* rgb */ color: rgb(158, 27, 74);
/* oklch */ color: oklch(46.2% 0.167 6.1);
Tailwind
colors: {
  custom: {
    50: '#c1677c',
    500: '#9e1b4a',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b4a;
$custom-light: #c1677c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b4a",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 338.473,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46219,
    "c": 0.16672,
    "h": 6.1
  },
  "luminance": 0.08547
}

Semantic roles & 50–950 ramp

primary
#9E1B4A
secondary
#51C49B
accent
#EEAD3A
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E1B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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