#9E1D84#9E1D84

#9E1D84 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.7% C 0.192 H 338.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9E1D84
RGBrgb(158, 29, 132)
HSLhsl(312, 69%, 37%)
HSVhsv(312, 82%, 62%)
CMYKcmyk(0%, 81.6%, 16.5%, 38%)
CIE-LABlab(37.51, 60.19, -26.39)
CIE-LCHlch(37.51, 65.72, 336.32°)
OKLaboklab(48.69% 0.1785 -0.0717)
OKLCHoklch(48.69% 0.192 338.1)
XYZxyz(18.7052, 9.8156, 22.7348)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D84 #1D9E37
analogous
#781D9E #9E1D84 #9E1D44
triadic
#9E1D84 #849E1D #1D849E
tetradic
#9E1D84 #9E781D #1D9E37 #1D449E
square
#9E1D84 #9E781D #1D9E37 #1D449E
split-complementary
#9E1D84 #449E1D #1D9E78
monochromatic
#370A2E #6A1459 #9E1D84 #D226AF #E056C4

Accessibility & contrast

On white

7.09
#9E1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9E1D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D84
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D84#FFFFFF#000000##FFFFFF
##9E1D841.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C87
Deuteranopia (green-blind)
#525F81
Tritanopia (blue-blind)
#A72550
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1d84;
/* rgb */ color: rgb(158, 29, 132);
/* oklch */ color: oklch(48.7% 0.192 338.1);
Tailwind
colors: {
  custom: {
    50: '#bf6aa8',
    500: '#9e1d84',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d84;
$custom-light: #bf6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d84",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 312.093,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48693,
    "c": 0.19241,
    "h": 338.1
  },
  "luminance": 0.09814
}

Semantic roles & 50–950 ramp

primary
#9E1D84
secondary
#54C36A
accent
#EC5F3C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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