#9E1A4E#9E1A4E

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

Color values

HEX#9E1A4E
RGBrgb(158, 26, 78)
HSLhsl(336, 72%, 36%)
HSVhsv(336, 84%, 62%)
CMYKcmyk(0%, 83.5%, 50.6%, 38%)
CIE-LABlab(35.12, 54.83, 4.29)
CIE-LCHlch(35.12, 55.00, 4.48°)
OKLaboklab(46.27% 0.1681 0.0115)
OKLCHoklch(46.27% 0.168 3.9)
XYZxyz(15.8465, 8.5602, 8.0241)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A4E #1A9E6A
analogous
#9E1A90 #9E1A4E #9E281A
triadic
#9E1A4E #4E9E1A #1A4E9E
tetradic
#9E1A4E #909E1A #1A9E6A #281A9E
square
#9E1A4E #909E1A #1A9E6A #281A9E
split-complementary
#9E1A4E #1A9E28 #1A909E
monochromatic
#35091A #691134 #9E1A4E #D32368 #E2508A

Accessibility & contrast

On white

7.74
#9E1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1A4E
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A4E#FFFFFF#000000##FFFFFF
##9E1A4E1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1a4e;
/* rgb */ color: rgb(158, 26, 78);
/* oklch */ color: oklch(46.3% 0.168 3.9);
Tailwind
colors: {
  custom: {
    50: '#c1677f',
    500: '#9e1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a4e;
$custom-light: #c1677f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a4e",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 336.364,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46271,
    "c": 0.16848,
    "h": 3.9
  },
  "luminance": 0.08558
}

Semantic roles & 50–950 ramp

primary
#9E1A4E
secondary
#4FC596
accent
#EEA739
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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