#9E1D66#9E1D66

#9E1D66 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.175 H 351.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9E1D66
RGBrgb(158, 29, 102)
HSLhsl(326, 69%, 37%)
HSVhsv(326, 82%, 62%)
CMYKcmyk(0%, 81.6%, 35.4%, 38%)
CIE-LABlab(36.19, 56.40, -9.58)
CIE-LCHlch(36.19, 57.21, 350.36°)
OKLaboklab(47.31% 0.1732 -0.0247)
OKLCHoklch(47.31% 0.175 351.9)
XYZxyz(16.9393, 9.1092, 13.4340)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D66 #1D9E55
analogous
#961D9E #9E1D66 #9E1D25
triadic
#9E1D66 #669E1D #1D669E
tetradic
#9E1D66 #9E961D #1D9E55 #1D259E
square
#9E1D66 #9E961D #1D9E55 #1D259E
split-complementary
#9E1D66 #259E1D #1D9E96
monochromatic
#370A23 #6A1445 #9E1D66 #D22687 #E056A4

Accessibility & contrast

On white

7.44
#9E1D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9E1D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D66
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D66#FFFFFF#000000##FFFFFF
##9E1D661.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374668
Deuteranopia (green-blind)
#5C5D63
Tritanopia (blue-blind)
#AA0E40
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e1d66;
/* rgb */ color: rgb(158, 29, 102);
/* oklch */ color: oklch(47.3% 0.175 351.9);
Tailwind
colors: {
  custom: {
    50: '#bf6991',
    500: '#9e1d66',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d66;
$custom-light: #bf6991;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d66",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 102
  },
  "hsl": {
    "h": 326.047,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47313,
    "c": 0.17497,
    "h": 351.9
  },
  "luminance": 0.09107
}

Semantic roles & 50–950 ramp

primary
#9E1D66
secondary
#54C384
accent
#EC883C
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E1D66

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

Preview Lab → · Contrast checker → · Palette generator →

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