#9E1B42#9E1B42

#9E1B42 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.165 H 10.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9E1B42
RGBrgb(158, 27, 66)
HSLhsl(342, 71%, 36%)
HSVhsv(342, 83%, 62%)
CMYKcmyk(0%, 82.9%, 58.2%, 38%)
CIE-LABlab(34.90, 53.64, 11.78)
CIE-LCHlch(34.90, 54.92, 12.39°)
OKLaboklab(46.01% 0.1627 0.0295)
OKLCHoklch(46.01% 0.165 10.3)
XYZxyz(15.4774, 8.4486, 5.9690)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B42 #1B9E77
analogous
#9E1B84 #9E1B42 #9E351B
triadic
#9E1B42 #429E1B #1B429E
tetradic
#9E1B42 #849E1B #1B9E77 #351B9E
square
#9E1B42 #849E1B #1B9E77 #351B9E
split-complementary
#9E1B42 #1B9E35 #1B849E
monochromatic
#350916 #6A122C #9E1B42 #D22458 #E1527D

Accessibility & contrast

On white

7.81
#9E1B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9E1B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B42
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B42#FFFFFF#000000##FFFFFF
##9E1B421.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414143
Deuteranopia (green-blind)
#625B3F
Tritanopia (blue-blind)
#AD002D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1b42;
/* rgb */ color: rgb(158, 27, 66);
/* oklch */ color: oklch(46.0% 0.165 10.3);
Tailwind
colors: {
  custom: {
    50: '#c16776',
    500: '#9e1b42',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b42;
$custom-light: #c16776;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b42",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 66
  },
  "hsl": {
    "h": 342.137,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46005,
    "c": 0.16531,
    "h": 10.3
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#9E1B42
secondary
#51C4A2
accent
#EEB83A
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1B42

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

Preview Lab → · Contrast checker → · Palette generator →

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