#9E1D85#9E1D85

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

Color values

HEX#9E1D85
RGBrgb(158, 29, 133)
HSLhsl(312, 69%, 37%)
HSVhsv(312, 82%, 62%)
CMYKcmyk(0%, 81.6%, 15.8%, 38%)
CIE-LABlab(37.56, 60.33, -26.93)
CIE-LCHlch(37.56, 66.07, 335.94°)
OKLaboklab(48.75% 0.1786 -0.0733)
OKLCHoklch(48.75% 0.193 337.7)
XYZxyz(18.7740, 9.8431, 23.0969)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D85 #1D9E36
analogous
#771D9E #9E1D85 #9E1D45
triadic
#9E1D85 #859E1D #1D859E
tetradic
#9E1D85 #9E771D #1D9E36 #1D459E
square
#9E1D85 #9E771D #1D9E36 #1D459E
split-complementary
#9E1D85 #459E1D #1D9E77
monochromatic
#370A2E #6A1459 #9E1D85 #D226B1 #E056C5

Accessibility & contrast

On white

7.07
#9E1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9E1D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D85
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D85#FFFFFF#000000##FFFFFF
##9E1D851.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C88
Deuteranopia (green-blind)
#515F82
Tritanopia (blue-blind)
#A72651
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1d85;
/* rgb */ color: rgb(158, 29, 133);
/* oklch */ color: oklch(48.7% 0.193 337.7);
Tailwind
colors: {
  custom: {
    50: '#bf6aa9',
    500: '#9e1d85',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d85;
$custom-light: #bf6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d85",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 311.628,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48745,
    "c": 0.19306,
    "h": 337.7
  },
  "luminance": 0.09841
}

Semantic roles & 50–950 ramp

primary
#9E1D85
secondary
#54C369
accent
#EC5E3C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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