#9E2E84#9E2E84

#9E2E84 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.174 H 338.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9E2E84
RGBrgb(158, 46, 132)
HSLhsl(314, 55%, 40%)
HSVhsv(314, 71%, 62%)
CMYKcmyk(0%, 70.9%, 16.5%, 38%)
CIE-LABlab(39.40, 54.82, -23.45)
CIE-LCHlch(39.40, 59.62, 336.84°)
OKLaboklab(50.06% 0.1624 -0.0635)
OKLCHoklch(50.06% 0.174 338.6)
XYZxyz(19.2428, 10.8908, 22.9140)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E84 #2E9E48
analogous
#802E9E #9E2E84 #9E2E4C
triadic
#9E2E84 #849E2E #2E849E
tetradic
#9E2E84 #9E802E #2E9E48 #2E4C9E
square
#9E2E84 #9E802E #2E9E48 #2E4C9E
split-complementary
#9E2E84 #4C9E2E #2E9E80
monochromatic
#3F1235 #6F205C #9E2E84 #C841A9 #D671BE

Accessibility & contrast

On white

6.61
#9E2E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9E2E84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E84
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E84#FFFFFF#000000##FFFFFF
##9E2E841.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335286
Deuteranopia (green-blind)
#586381
Tritanopia (blue-blind)
#A73355
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2e84;
/* rgb */ color: rgb(158, 46, 132);
/* oklch */ color: oklch(50.1% 0.174 338.6);
Tailwind
colors: {
  custom: {
    50: '#be71a8',
    500: '#9e2e84',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e84;
$custom-light: #be71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e84",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 313.929,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.50055,
    "c": 0.17434,
    "h": 338.6
  },
  "luminance": 0.10889
}

Semantic roles & 50–950 ramp

primary
#9E2E84
secondary
#6BBD7E
accent
#DE6C4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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