#9E2D84#9E2D84

#9E2D84 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.176 H 338.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9E2D84
RGBrgb(158, 45, 132)
HSLhsl(314, 56%, 40%)
HSVhsv(314, 72%, 62%)
CMYKcmyk(0%, 71.5%, 16.5%, 38%)
CIE-LABlab(39.26, 55.19, -23.66)
CIE-LCHlch(39.26, 60.04, 336.80°)
OKLaboklab(49.96% 0.1635 -0.064)
OKLCHoklch(49.96% 0.176 338.6)
XYZxyz(19.2042, 10.8136, 22.9011)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2D84 #2D9E47
analogous
#7F2D9E #9E2D84 #9E2D4C
triadic
#9E2D84 #849E2D #2D849E
tetradic
#9E2D84 #9E7F2D #2D9E47 #2D4C9E
square
#9E2D84 #9E7F2D #2D9E47 #2D4C9E
split-complementary
#9E2D84 #4C9E2D #2D9E7F
monochromatic
#3F1234 #6E1F5C #9E2D84 #C940A9 #D66FBE

Accessibility & contrast

On white

6.64
#9E2D84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9E2D84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2D84
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2D84#FFFFFF#000000##FFFFFF
##9E2D841.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325186
Deuteranopia (green-blind)
#576381
Tritanopia (blue-blind)
#A73255
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2d84;
/* rgb */ color: rgb(158, 45, 132);
/* oklch */ color: oklch(50.0% 0.176 338.6);
Tailwind
colors: {
  custom: {
    50: '#be70a8',
    500: '#9e2d84',
    950: '#000000',
  },
}
SCSS
$custom: #9e2d84;
$custom-light: #be70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2d84",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 313.805,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4996,
    "c": 0.17557,
    "h": 338.6
  },
  "luminance": 0.10812
}

Semantic roles & 50–950 ramp

primary
#9E2D84
secondary
#69BD7D
accent
#DF6B49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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