#9E1784#9E1784

#9E1784 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.3% C 0.197 H 338.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9E1784
RGBrgb(158, 23, 132)
HSLhsl(312, 75%, 35%)
HSVhsv(312, 85%, 62%)
CMYKcmyk(0%, 85.4%, 16.5%, 38%)
CIE-LABlab(37.02, 61.60, -27.16)
CIE-LCHlch(37.02, 67.32, 336.21°)
OKLaboklab(48.34% 0.1828 -0.0739)
OKLCHoklch(48.34% 0.197 338)
XYZxyz(18.5723, 9.5497, 22.6905)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1784 #179E31
analogous
#75179E #9E1784 #9E1740
triadic
#9E1784 #849E17 #17849E
tetradic
#9E1784 #9E7517 #179E31 #17409E
square
#9E1784 #9E7517 #179E31 #17409E
split-complementary
#9E1784 #409E17 #179E75
monochromatic
#33072B #690F57 #9E1784 #D31FB1 #E54BC7

Accessibility & contrast

On white

7.22
#9E1784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9E1784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1784
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1784#FFFFFF#000000##FFFFFF
##9E17841.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4A87
Deuteranopia (green-blind)
#505E81
Tritanopia (blue-blind)
#A7214F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1784;
/* rgb */ color: rgb(158, 23, 132);
/* oklch */ color: oklch(48.3% 0.197 338.0);
Tailwind
colors: {
  custom: {
    50: '#bf68a8',
    500: '#9e1784',
    950: '#000000',
  },
}
SCSS
$custom: #9e1784;
$custom-light: #bf68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1784",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 311.556,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48343,
    "c": 0.19716,
    "h": 338
  },
  "luminance": 0.09548
}

Semantic roles & 50–950 ramp

primary
#9E1784
secondary
#4AC662
accent
#F15B37
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1784

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

Preview Lab → · Contrast checker → · Palette generator →

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