#9E1B4C#9E1B4C

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

Color values

HEX#9E1B4C
RGBrgb(158, 27, 76)
HSLhsl(338, 71%, 36%)
HSVhsv(338, 83%, 62%)
CMYKcmyk(0%, 82.9%, 51.9%, 38%)
CIE-LABlab(35.16, 54.41, 5.64)
CIE-LCHlch(35.16, 54.70, 5.92°)
OKLaboklab(46.28% 0.1665 0.0148)
OKLCHoklch(46.28% 0.167 5.1)
XYZxyz(15.7984, 8.5770, 7.6597)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B4C #1B9E6D
analogous
#9E1B8E #9E1B4C #9E2B1B
triadic
#9E1B4C #4C9E1B #1B4C9E
tetradic
#9E1B4C #8E9E1B #1B9E6D #2B1B9E
square
#9E1B4C #8E9E1B #1B9E6D #2B1B9E
split-complementary
#9E1B4C #1B9E2B #1B8E9E
monochromatic
#35091A #6A1233 #9E1B4C #D22465 #E15288

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1B4C#FFFFFF#000000##FFFFFF
##9E1B4C1.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)
#3E424D
Deuteranopia (green-blind)
#615C49
Tritanopia (blue-blind)
#AD0031
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1b4c;
/* rgb */ color: rgb(158, 27, 76);
/* oklch */ color: oklch(46.3% 0.167 5.1);
Tailwind
colors: {
  custom: {
    50: '#c1677d',
    500: '#9e1b4c',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b4c;
$custom-light: #c1677d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b4c",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 76
  },
  "hsl": {
    "h": 337.557,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46277,
    "c": 0.16718,
    "h": 5.1
  },
  "luminance": 0.08575
}

Semantic roles & 50–950 ramp

primary
#9E1B4C
secondary
#51C499
accent
#EEAA3A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E1B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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