#9E1B4E#9E1B4E

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

Color values

HEX#9E1B4E
RGBrgb(158, 27, 78)
HSLhsl(337, 71%, 36%)
HSVhsv(337, 83%, 62%)
CMYKcmyk(0%, 82.9%, 50.6%, 38%)
CIE-LABlab(35.21, 54.58, 4.42)
CIE-LCHlch(35.21, 54.76, 4.63°)
OKLaboklab(46.34% 0.1673 0.0118)
OKLCHoklch(46.34% 0.168 4)
XYZxyz(15.8691, 8.6053, 8.0316)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B4E #1B9E6B
analogous
#9E1B90 #9E1B4E #9E291B
triadic
#9E1B4E #4E9E1B #1B4E9E
tetradic
#9E1B4E #909E1B #1B9E6B #291B9E
square
#9E1B4E #909E1B #1B9E6B #291B9E
split-complementary
#9E1B4E #1B9E29 #1B909E
monochromatic
#35091A #6A1234 #9E1B4E #D22468 #E1528A

Accessibility & contrast

On white

7.72
#9E1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1B4E
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B4E#FFFFFF#000000##FFFFFF
##9E1B4E1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1b4e;
/* rgb */ color: rgb(158, 27, 78);
/* oklch */ color: oklch(46.3% 0.168 4.0);
Tailwind
colors: {
  custom: {
    50: '#c1677f',
    500: '#9e1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b4e;
$custom-light: #c1677f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b4e",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 336.641,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46337,
    "c": 0.16768,
    "h": 4
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#9E1B4E
secondary
#51C497
accent
#EEA83A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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