#9E1E52#9E1E52

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

Color values

HEX#9E1E52
RGBrgb(158, 30, 82)
HSLhsl(336, 68%, 37%)
HSVhsv(336, 81%, 62%)
CMYKcmyk(0%, 81%, 48.1%, 38%)
CIE-LABlab(35.61, 54.11, 2.41)
CIE-LCHlch(35.61, 54.17, 2.55°)
OKLaboklab(46.67% 0.1661 0.0068)
OKLCHoklch(46.67% 0.166 2.3)
XYZxyz(16.0892, 8.8091, 8.8341)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E52 #1E9E6A
analogous
#9E1E92 #9E1E52 #9E2A1E
triadic
#9E1E52 #529E1E #1E529E
tetradic
#9E1E52 #929E1E #1E9E6A #2A1E9E
square
#9E1E52 #929E1E #1E9E6A #2A1E9E
split-complementary
#9E1E52 #1E9E2A #1E929E
monochromatic
#370A1D #6B1437 #9E1E52 #D1286D #DF578E

Accessibility & contrast

On white

7.60
#9E1E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1E52
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E52#FFFFFF#000000##FFFFFF
##9E1E521.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1e52;
/* rgb */ color: rgb(158, 30, 82);
/* oklch */ color: oklch(46.7% 0.166 2.3);
Tailwind
colors: {
  custom: {
    50: '#c06882',
    500: '#9e1e52',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e52;
$custom-light: #c06882;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e52",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 335.625,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46669,
    "c": 0.16623,
    "h": 2.3
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#9E1E52
secondary
#55C396
accent
#EBA43D
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1E52

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

Preview Lab → · Contrast checker → · Palette generator →

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