#9E2D82#9E2D82

#9E2D82 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.174 H 339.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9E2D82
RGBrgb(158, 45, 130)
HSLhsl(315, 56%, 40%)
HSVhsv(315, 72%, 62%)
CMYKcmyk(0%, 71.5%, 17.7%, 38%)
CIE-LABlab(39.17, 54.89, -22.57)
CIE-LCHlch(39.17, 59.35, 337.65°)
OKLaboklab(49.86% 0.1632 -0.061)
OKLCHoklch(49.86% 0.174 339.5)
XYZxyz(19.0687, 10.7594, 22.1873)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2D82 #2D9E49
analogous
#812D9E #9E2D82 #9E2D4A
triadic
#9E2D82 #829E2D #2D829E
tetradic
#9E2D82 #9E812D #2D9E49 #2D4A9E
square
#9E2D82 #9E812D #2D9E49 #2D4A9E
split-complementary
#9E2D82 #4A9E2D #2D9E81
monochromatic
#3F1234 #6E1F5B #9E2D82 #C940A7 #D66FBD

Accessibility & contrast

On white

6.66
#9E2D82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9E2D82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2D82
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2D82#FFFFFF#000000##FFFFFF
##9E2D821.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345184
Deuteranopia (green-blind)
#58637F
Tritanopia (blue-blind)
#A73154
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2d82;
/* rgb */ color: rgb(158, 45, 130);
/* oklch */ color: oklch(49.9% 0.174 339.5);
Tailwind
colors: {
  custom: {
    50: '#be70a6',
    500: '#9e2d82',
    950: '#000000',
  },
}
SCSS
$custom: #9e2d82;
$custom-light: #be70a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2d82",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 314.867,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49862,
    "c": 0.17419,
    "h": 339.5
  },
  "luminance": 0.10758
}

Semantic roles & 50–950 ramp

primary
#9E2D82
secondary
#69BD7E
accent
#DF6E49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E2D82

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

Preview Lab → · Contrast checker → · Palette generator →

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