#9E1D48#9E1D48

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

Color values

HEX#9E1D48
RGBrgb(158, 29, 72)
HSLhsl(340, 69%, 37%)
HSVhsv(340, 82%, 62%)
CMYKcmyk(0%, 81.6%, 54.4%, 38%)
CIE-LABlab(35.24, 53.55, 8.35)
CIE-LCHlch(35.24, 54.20, 8.86°)
OKLaboklab(46.3% 0.1633 0.0214)
OKLCHoklch(46.3% 0.165 7.5)
XYZxyz(15.7111, 8.6180, 6.9658)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D48 #1D9E73
analogous
#9E1D89 #9E1D48 #9E331D
triadic
#9E1D48 #489E1D #1D489E
tetradic
#9E1D48 #899E1D #1D9E73 #331D9E
square
#9E1D48 #899E1D #1D9E73 #331D9E
split-complementary
#9E1D48 #1D9E33 #1D899E
monochromatic
#370A19 #6A1430 #9E1D48 #D22660 #E05684

Accessibility & contrast

On white

7.71
#9E1D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1D48
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D48#FFFFFF#000000##FFFFFF
##9E1D481.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404249
Deuteranopia (green-blind)
#625C45
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1d48;
/* rgb */ color: rgb(158, 29, 72);
/* oklch */ color: oklch(46.3% 0.165 7.5);
Tailwind
colors: {
  custom: {
    50: '#c1687a',
    500: '#9e1d48',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d48;
$custom-light: #c1687a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d48",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 72
  },
  "hsl": {
    "h": 340,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46302,
    "c": 0.16466,
    "h": 7.5
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#9E1D48
secondary
#54C39E
accent
#ECB13C
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E1D48

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

Preview Lab → · Contrast checker → · Palette generator →

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