#9E1D4F#9E1D4F

#9E1D4F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.166 H 3.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9E1D4F
RGBrgb(158, 29, 79)
HSLhsl(337, 69%, 37%)
HSVhsv(337, 82%, 62%)
CMYKcmyk(0%, 81.6%, 50%, 38%)
CIE-LABlab(35.43, 54.13, 4.08)
CIE-LCHlch(35.43, 54.28, 4.31°)
OKLaboklab(46.5% 0.1659 0.011)
OKLCHoklch(46.5% 0.166 3.8)
XYZxyz(15.9526, 8.7146, 8.2377)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D4F #1D9E6C
analogous
#9E1D90 #9E1D4F #9E2B1D
triadic
#9E1D4F #4F9E1D #1D4F9E
tetradic
#9E1D4F #909E1D #1D9E6C #2B1D9E
square
#9E1D4F #909E1D #1D9E6C #2B1D9E
split-complementary
#9E1D4F #1D9E2B #1D909E
monochromatic
#370A1B #6A1435 #9E1D4F #D22669 #E0568B

Accessibility & contrast

On white

7.66
#9E1D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9E1D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D4F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D4F#FFFFFF#000000##FFFFFF
##9E1D4F1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4350
Deuteranopia (green-blind)
#615C4C
Tritanopia (blue-blind)
#AC0034
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1d4f;
/* rgb */ color: rgb(158, 29, 79);
/* oklch */ color: oklch(46.5% 0.166 3.8);
Tailwind
colors: {
  custom: {
    50: '#c16880',
    500: '#9e1d4f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d4f;
$custom-light: #c16880;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d4f",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 336.744,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46504,
    "c": 0.16626,
    "h": 3.8
  },
  "luminance": 0.08712
}

Semantic roles & 50–950 ramp

primary
#9E1D4F
secondary
#54C398
accent
#ECA83C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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