#9E1D42#9E1D42

#9E1D42 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.164 H 10.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#9E1D42
RGBrgb(158, 29, 66)
HSLhsl(343, 69%, 37%)
HSVhsv(343, 82%, 62%)
CMYKcmyk(0%, 81.6%, 58.2%, 38%)
CIE-LABlab(35.09, 53.10, 12.04)
CIE-LCHlch(35.09, 54.45, 12.78°)
OKLaboklab(46.15% 0.1609 0.0302)
OKLCHoklch(46.15% 0.164 10.6)
XYZxyz(15.5248, 8.5435, 5.9848)
Luminance0.0854 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D42 #1D9E79
analogous
#9E1D83 #9E1D42 #9E391D
triadic
#9E1D42 #429E1D #1D429E
tetradic
#9E1D42 #839E1D #1D9E79 #391D9E
square
#9E1D42 #839E1D #1D9E79 #391D9E
split-complementary
#9E1D42 #1D9E39 #1D839E
monochromatic
#370A17 #6A142C #9E1D42 #D22658 #E0567D

Accessibility & contrast

On white

7.75
#9E1D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1D42
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D42#FFFFFF#000000##FFFFFF
##9E1D421.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424243
Deuteranopia (green-blind)
#635C3F
Tritanopia (blue-blind)
#AD002D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1d42;
/* rgb */ color: rgb(158, 29, 66);
/* oklch */ color: oklch(46.1% 0.164 10.6);
Tailwind
colors: {
  custom: {
    50: '#c16876',
    500: '#9e1d42',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d42;
$custom-light: #c16876;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d42",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 66
  },
  "hsl": {
    "h": 342.791,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46145,
    "c": 0.1637,
    "h": 10.6
  },
  "luminance": 0.08541
}

Semantic roles & 50–950 ramp

primary
#9E1D42
secondary
#54C3A3
accent
#ECB93C
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1D42

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

Preview Lab → · Contrast checker → · Palette generator →

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