#9E1B4F#9E1B4F

#9E1B4F is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.168 H 3.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9E1B4F
RGBrgb(158, 27, 79)
HSLhsl(336, 71%, 36%)
HSVhsv(336, 83%, 62%)
CMYKcmyk(0%, 82.9%, 50%, 38%)
CIE-LABlab(35.24, 54.66, 3.81)
CIE-LCHlch(35.24, 54.80, 3.99°)
OKLaboklab(46.37% 0.1676 0.0103)
OKLCHoklch(46.37% 0.168 3.5)
XYZxyz(15.9052, 8.6197, 8.2219)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B4F #1B9E6A
analogous
#9E1B91 #9E1B4F #9E281B
triadic
#9E1B4F #4F9E1B #1B4F9E
tetradic
#9E1B4F #919E1B #1B9E6A #281B9E
square
#9E1B4F #919E1B #1B9E6A #281B9E
split-complementary
#9E1B4F #1B9E28 #1B919E
monochromatic
#35091B #6A1235 #9E1B4F #D22469 #E1528B

Accessibility & contrast

On white

7.71
#9E1B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1B4F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B4F#FFFFFF#000000##FFFFFF
##9E1B4F1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4350
Deuteranopia (green-blind)
#605C4C
Tritanopia (blue-blind)
#AC0033
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1b4f;
/* rgb */ color: rgb(158, 27, 79);
/* oklch */ color: oklch(46.4% 0.168 3.5);
Tailwind
colors: {
  custom: {
    50: '#c16780',
    500: '#9e1b4f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b4f;
$custom-light: #c16780;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b4f",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 336.183,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46367,
    "c": 0.16794,
    "h": 3.5
  },
  "luminance": 0.08617
}

Semantic roles & 50–950 ramp

primary
#9E1B4F
secondary
#51C496
accent
#EEA63A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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