#9E1B84#9E1B84

#9E1B84 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.6% C 0.194 H 338.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9E1B84
RGBrgb(158, 27, 132)
HSLhsl(312, 71%, 36%)
HSVhsv(312, 83%, 62%)
CMYKcmyk(0%, 82.9%, 16.5%, 38%)
CIE-LABlab(37.34, 60.69, -26.66)
CIE-LCHlch(37.34, 66.29, 336.28°)
OKLaboklab(48.57% 0.18 -0.0725)
OKLCHoklch(48.57% 0.194 338.1)
XYZxyz(18.6578, 9.7208, 22.7190)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B84 #1B9E35
analogous
#771B9E #9E1B84 #9E1B43
triadic
#9E1B84 #849E1B #1B849E
tetradic
#9E1B84 #9E771B #1B9E35 #1B439E
square
#9E1B84 #9E771B #1B9E35 #1B439E
split-complementary
#9E1B84 #439E1B #1B9E77
monochromatic
#35092D #6A1258 #9E1B84 #D224B0 #E152C5

Accessibility & contrast

On white

7.13
#9E1B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9E1B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B84
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B84#FFFFFF#000000##FFFFFF
##9E1B841.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B87
Deuteranopia (green-blind)
#515F81
Tritanopia (blue-blind)
#A72450
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1b84;
/* rgb */ color: rgb(158, 27, 132);
/* oklch */ color: oklch(48.6% 0.194 338.1);
Tailwind
colors: {
  custom: {
    50: '#bf69a8',
    500: '#9e1b84',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b84;
$custom-light: #bf69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b84",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 311.908,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48569,
    "c": 0.19409,
    "h": 338.1
  },
  "luminance": 0.09719
}

Semantic roles & 50–950 ramp

primary
#9E1B84
secondary
#51C468
accent
#EE5E3A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1B84

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

Preview Lab → · Contrast checker → · Palette generator →

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