#9E1D47#9E1D47

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

Color values

HEX#9E1D47
RGBrgb(158, 29, 71)
HSLhsl(340, 69%, 37%)
HSVhsv(340, 82%, 62%)
CMYKcmyk(0%, 81.6%, 55.1%, 38%)
CIE-LABlab(35.21, 53.47, 8.97)
CIE-LCHlch(35.21, 54.22, 9.52°)
OKLaboklab(46.28% 0.1629 0.0229)
OKLCHoklch(46.28% 0.164 8)
XYZxyz(15.6788, 8.6050, 6.7954)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D47 #1D9E74
analogous
#9E1D88 #9E1D47 #9E341D
triadic
#9E1D47 #479E1D #1D479E
tetradic
#9E1D47 #889E1D #1D9E74 #341D9E
square
#9E1D47 #889E1D #1D9E74 #341D9E
split-complementary
#9E1D47 #1D9E34 #1D889E
monochromatic
#370A19 #6A1430 #9E1D47 #D2265E #E05683

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1D47#FFFFFF#000000##FFFFFF
##9E1D471.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)
#414248
Deuteranopia (green-blind)
#625C44
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1d47;
/* rgb */ color: rgb(158, 29, 71);
/* oklch */ color: oklch(46.3% 0.164 8.0);
Tailwind
colors: {
  custom: {
    50: '#c16879',
    500: '#9e1d47',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d47;
$custom-light: #c16879;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d47",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 71
  },
  "hsl": {
    "h": 340.465,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46275,
    "c": 0.16447,
    "h": 8
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#9E1D47
secondary
#54C39F
accent
#ECB33C
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E1D47

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

Preview Lab → · Contrast checker → · Palette generator →

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