#9E1D7E#9E1D7E

#9E1D7E is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.189 H 340.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9E1D7E
RGBrgb(158, 29, 126)
HSLhsl(315, 69%, 37%)
HSVhsv(315, 82%, 62%)
CMYKcmyk(0%, 81.6%, 20.3%, 38%)
CIE-LABlab(37.22, 59.36, -23.12)
CIE-LCHlch(37.22, 63.71, 338.72°)
OKLaboklab(48.39% 0.1779 -0.0624)
OKLCHoklch(48.39% 0.189 340.7)
XYZxyz(18.3064, 9.6561, 20.6343)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D7E #1D9E3D
analogous
#7E1D9E #9E1D7E #9E1D3D
triadic
#9E1D7E #7E9E1D #1D7E9E
tetradic
#9E1D7E #9E7E1D #1D9E3D #1D3D9E
square
#9E1D7E #9E7E1D #1D9E3D #1D3D9E
split-complementary
#9E1D7E #3D9E1D #1D9E7E
monochromatic
#370A2C #6A1455 #9E1D7E #D226A7 #E056BE

Accessibility & contrast

On white

7.17
#9E1D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1D7E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D7E#FFFFFF#000000##FFFFFF
##9E1D7E1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B80
Deuteranopia (green-blind)
#545F7B
Tritanopia (blue-blind)
#A8214D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1d7e;
/* rgb */ color: rgb(158, 29, 126);
/* oklch */ color: oklch(48.4% 0.189 340.7);
Tailwind
colors: {
  custom: {
    50: '#bf6aa3',
    500: '#9e1d7e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d7e;
$custom-light: #bf6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d7e",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 314.884,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48389,
    "c": 0.18851,
    "h": 340.7
  },
  "luminance": 0.09654
}

Semantic roles & 50–950 ramp

primary
#9E1D7E
secondary
#54C36F
accent
#EC683C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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