#9E1D52#9E1D52

#9E1D52 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.167 H 2.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9E1D52
RGBrgb(158, 29, 82)
HSLhsl(335, 69%, 37%)
HSVhsv(335, 82%, 62%)
CMYKcmyk(0%, 81.6%, 48.1%, 38%)
CIE-LABlab(35.52, 54.39, 2.27)
CIE-LCHlch(35.52, 54.44, 2.39°)
OKLaboklab(46.6% 0.167 0.0064)
OKLCHoklch(46.6% 0.167 2.2)
XYZxyz(16.0643, 8.7592, 8.8258)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D52 #1D9E69
analogous
#9E1D93 #9E1D52 #9E291D
triadic
#9E1D52 #529E1D #1D529E
tetradic
#9E1D52 #939E1D #1D9E69 #291D9E
square
#9E1D52 #939E1D #1D9E69 #291D9E
split-complementary
#9E1D52 #1D9E29 #1D939E
monochromatic
#370A1C #6A1437 #9E1D52 #D2266D #E0568E

Accessibility & contrast

On white

7.63
#9E1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1D52
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D52#FFFFFF#000000##FFFFFF
##9E1D521.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4453
Deuteranopia (green-blind)
#605C4F
Tritanopia (blue-blind)
#AC0035
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1d52;
/* rgb */ color: rgb(158, 29, 82);
/* oklch */ color: oklch(46.6% 0.167 2.2);
Tailwind
colors: {
  custom: {
    50: '#c06882',
    500: '#9e1d52',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d52;
$custom-light: #c06882;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d52",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 335.349,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46597,
    "c": 0.1671,
    "h": 2.2
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#9E1D52
secondary
#54C395
accent
#ECA43C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1D52

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

Preview Lab → · Contrast checker → · Palette generator →

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