#9E1D54#9E1D54

#9E1D54 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.168 H 1.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9E1D54
RGBrgb(158, 29, 84)
HSLhsl(334, 69%, 37%)
HSVhsv(334, 82%, 62%)
CMYKcmyk(0%, 81.6%, 46.8%, 38%)
CIE-LABlab(35.58, 54.57, 1.06)
CIE-LCHlch(35.58, 54.58, 1.11°)
OKLaboklab(46.66% 0.1677 0.0033)
OKLCHoklch(46.66% 0.168 1.1)
XYZxyz(16.1415, 8.7901, 9.2325)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D54 #1D9E67
analogous
#9E1D95 #9E1D54 #9E271D
triadic
#9E1D54 #549E1D #1D549E
tetradic
#9E1D54 #959E1D #1D9E67 #271D9E
square
#9E1D54 #959E1D #1D9E67 #271D9E
split-complementary
#9E1D54 #1D9E27 #1D959E
monochromatic
#370A1D #6A1439 #9E1D54 #D2266F #E05691

Accessibility & contrast

On white

7.62
#9E1D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9E1D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D54
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D54#FFFFFF#000000##FFFFFF
##9E1D541.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4455
Deuteranopia (green-blind)
#605C51
Tritanopia (blue-blind)
#AC0036
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1d54;
/* rgb */ color: rgb(158, 29, 84);
/* oklch */ color: oklch(46.7% 0.168 1.1);
Tailwind
colors: {
  custom: {
    50: '#c06883',
    500: '#9e1d54',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d54;
$custom-light: #c06883;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d54",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 84
  },
  "hsl": {
    "h": 334.419,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46661,
    "c": 0.16772,
    "h": 1.1
  },
  "luminance": 0.08788
}

Semantic roles & 50–950 ramp

primary
#9E1D54
secondary
#54C394
accent
#ECA13C
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1D54

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

Preview Lab → · Contrast checker → · Palette generator →

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