#9E1D7D#9E1D7D

#9E1D7D is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.188 H 341.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9E1D7D
RGBrgb(158, 29, 125)
HSLhsl(315, 69%, 37%)
HSVhsv(315, 82%, 62%)
CMYKcmyk(0%, 81.6%, 20.9%, 38%)
CIE-LABlab(37.17, 59.23, -22.57)
CIE-LCHlch(37.17, 63.39, 339.14°)
OKLaboklab(48.34% 0.1778 -0.0609)
OKLCHoklch(48.34% 0.188 341.1)
XYZxyz(18.2422, 9.6304, 20.2962)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D7D #1D9E3E
analogous
#7F1D9E #9E1D7D #9E1D3D
triadic
#9E1D7D #7D9E1D #1D7D9E
tetradic
#9E1D7D #9E7F1D #1D9E3E #1D3D9E
square
#9E1D7D #9E7F1D #1D9E3E #1D3D9E
split-complementary
#9E1D7D #3D9E1D #1D9E7F
monochromatic
#370A2B #6A1454 #9E1D7D #D226A6 #E056BC

Accessibility & contrast

On white

7.18
#9E1D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9E1D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D7D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D7D#FFFFFF#000000##FFFFFF
##9E1D7D1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4A7F
Deuteranopia (green-blind)
#545F7A
Tritanopia (blue-blind)
#A8214C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1d7d;
/* rgb */ color: rgb(158, 29, 125);
/* oklch */ color: oklch(48.3% 0.188 341.1);
Tailwind
colors: {
  custom: {
    50: '#bf6aa3',
    500: '#9e1d7d',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d7d;
$custom-light: #bf6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d7d",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 315.349,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48339,
    "c": 0.18788,
    "h": 341.1
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#9E1D7D
secondary
#54C370
accent
#EC693C
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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