#9E1D5E#9E1D5E

#9E1D5E is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.171 H 355.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9E1D5E
RGBrgb(158, 29, 94)
HSLhsl(330, 69%, 37%)
HSVhsv(330, 82%, 62%)
CMYKcmyk(0%, 81.6%, 40.5%, 38%)
CIE-LABlab(35.90, 55.55, -4.90)
CIE-LCHlch(35.90, 55.76, 354.96°)
OKLaboklab(47.01% 0.171 -0.0122)
OKLCHoklch(47.01% 0.171 355.9)
XYZxyz(16.5615, 8.9581, 11.4445)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D5E #1D9E5D
analogous
#9E1D9E #9E1D5E #9E1D1E
triadic
#9E1D5E #5E9E1D #1D5E9E
tetradic
#9E1D5E #9E9E1D #1D9E5D #1D1E9E
square
#9E1D5E #9E9E1D #1D9E5D #1D1E9E
split-complementary
#9E1D5E #1E9E1D #1D9E9E
monochromatic
#370A20 #6A143F #9E1D5E #D2267D #E0569B

Accessibility & contrast

On white

7.52
#9E1D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9E1D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D5E
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D5E#FFFFFF#000000##FFFFFF
##9E1D5E1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4560
Deuteranopia (green-blind)
#5D5D5B
Tritanopia (blue-blind)
#AB043B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1d5e;
/* rgb */ color: rgb(158, 29, 94);
/* oklch */ color: oklch(47.0% 0.171 355.9);
Tailwind
colors: {
  custom: {
    50: '#c0698b',
    500: '#9e1d5e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d5e;
$custom-light: #c0698b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d5e",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 329.767,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47007,
    "c": 0.17138,
    "h": 355.9
  },
  "luminance": 0.08956
}

Semantic roles & 50–950 ramp

primary
#9E1D5E
secondary
#54C38B
accent
#EC933C
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E1D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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