#9E1549#9E1549

#9E1549 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.171 H 5.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#9E1549
RGBrgb(158, 21, 73)
HSLhsl(337, 77%, 35%)
HSVhsv(337, 87%, 62%)
CMYKcmyk(0%, 86.7%, 53.8%, 38%)
CIE-LABlab(34.58, 55.59, 6.77)
CIE-LCHlch(34.58, 56.00, 6.94°)
OKLaboklab(45.83% 0.17 0.0176)
OKLCHoklch(45.83% 0.171 5.9)
XYZxyz(15.5728, 8.2888, 7.0819)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1549 #159E6A
analogous
#9E158E #9E1549 #9E2515
triadic
#9E1549 #499E15 #15499E
tetradic
#9E1549 #8E9E15 #159E6A #25159E
square
#9E1549 #8E9E15 #159E6A #25159E
split-complementary
#9E1549 #159E25 #158E9E
monochromatic
#320717 #680E30 #9E1549 #D41C62 #E74783

Accessibility & contrast

On white

7.90
#9E1549 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9E1549 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1549
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1549#FFFFFF#000000##FFFFFF
##9E15491.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D404A
Deuteranopia (green-blind)
#605B46
Tritanopia (blue-blind)
#AD002E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1549;
/* rgb */ color: rgb(158, 21, 73);
/* oklch */ color: oklch(45.8% 0.171 5.9);
Tailwind
colors: {
  custom: {
    50: '#c1657b',
    500: '#9e1549',
    950: '#000000',
  },
}
SCSS
$custom: #9e1549;
$custom-light: #c1657b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1549",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 73
  },
  "hsl": {
    "h": 337.226,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45826,
    "c": 0.17091,
    "h": 5.9
  },
  "luminance": 0.08286
}

Semantic roles & 50–950 ramp

primary
#9E1549
secondary
#47C797
accent
#F3AB35
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9E1549

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

Preview Lab → · Contrast checker → · Palette generator →

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