#9E1A4F#9E1A4F

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

Color values

HEX#9E1A4F
RGBrgb(158, 26, 79)
HSLhsl(336, 72%, 36%)
HSVhsv(336, 84%, 62%)
CMYKcmyk(0%, 83.5%, 50%, 38%)
CIE-LABlab(35.15, 54.92, 3.68)
CIE-LCHlch(35.15, 55.04, 3.84°)
OKLaboklab(46.3% 0.1685 0.01)
OKLCHoklch(46.3% 0.169 3.4)
XYZxyz(15.8826, 8.5747, 8.2144)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A4F #1A9E69
analogous
#9E1A91 #9E1A4F #9E271A
triadic
#9E1A4F #4F9E1A #1A4F9E
tetradic
#9E1A4F #919E1A #1A9E69 #271A9E
square
#9E1A4F #919E1A #1A9E69 #271A9E
split-complementary
#9E1A4F #1A9E27 #1A919E
monochromatic
#35091A #691135 #9E1A4F #D32369 #E2508B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1A4F#FFFFFF#000000##FFFFFF
##9E1A4F1.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)
#3D4250
Deuteranopia (green-blind)
#605C4C
Tritanopia (blue-blind)
#AC0033
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1a4f;
/* rgb */ color: rgb(158, 26, 79);
/* oklch */ color: oklch(46.3% 0.169 3.4);
Tailwind
colors: {
  custom: {
    50: '#c16780',
    500: '#9e1a4f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a4f;
$custom-light: #c16780;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a4f",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 335.909,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46301,
    "c": 0.16874,
    "h": 3.4
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#9E1A4F
secondary
#4FC595
accent
#EEA639
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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