#9E1E4D#9E1E4D

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

Color values

HEX#9E1E4D
RGBrgb(158, 30, 77)
HSLhsl(338, 68%, 37%)
HSVhsv(338, 81%, 62%)
CMYKcmyk(0%, 81%, 51.3%, 38%)
CIE-LABlab(35.47, 53.68, 5.44)
CIE-LCHlch(35.47, 53.95, 5.78°)
OKLaboklab(46.52% 0.1643 0.0143)
OKLCHoklch(46.52% 0.165 5)
XYZxyz(15.9058, 8.7357, 7.8683)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E4D #1E9E6F
analogous
#9E1E8D #9E1E4D #9E2F1E
triadic
#9E1E4D #4D9E1E #1E4D9E
tetradic
#9E1E4D #8D9E1E #1E9E6F #2F1E9E
square
#9E1E4D #8D9E1E #1E9E6F #2F1E9E
split-complementary
#9E1E4D #1E9E2F #1E8D9E
monochromatic
#370A1B #6B1434 #9E1E4D #D12866 #DF5789

Accessibility & contrast

On white

7.65
#9E1E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9E1E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1E4D
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E4D#FFFFFF#000000##FFFFFF
##9E1E4D1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40434E
Deuteranopia (green-blind)
#615C4A
Tritanopia (blue-blind)
#AC0033
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1e4d;
/* rgb */ color: rgb(158, 30, 77);
/* oklch */ color: oklch(46.5% 0.165 5.0);
Tailwind
colors: {
  custom: {
    50: '#c1687e',
    500: '#9e1e4d',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e4d;
$custom-light: #c1687e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e4d",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 337.969,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.16488,
    "h": 5
  },
  "luminance": 0.08733
}

Semantic roles & 50–950 ramp

primary
#9E1E4D
secondary
#55C39A
accent
#EBAB3D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E1E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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