#9D2E84#9D2E84

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

Color values

HEX#9D2E84
RGBrgb(157, 46, 132)
HSLhsl(314, 55%, 40%)
HSVhsv(314, 71%, 62%)
CMYKcmyk(0%, 70.7%, 15.9%, 38.4%)
CIE-LABlab(39.22, 54.56, -23.73)
CIE-LCHlch(39.22, 59.50, 336.49°)
OKLaboklab(49.9% 0.1613 -0.0643)
OKLCHoklch(49.9% 0.174 338.3)
XYZxyz(19.0469, 10.7898, 22.9048)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E84 #2E9D47
analogous
#7F2E9D #9D2E84 #9D2E4C
triadic
#9D2E84 #849D2E #2E849D
tetradic
#9D2E84 #9D7F2E #2E9D47 #2E4C9D
square
#9D2E84 #9D7F2E #2E9D47 #2E4C9D
split-complementary
#9D2E84 #4C9D2E #2E9D7F
monochromatic
#3E1234 #6E205C #9D2E84 #C741A9 #D570BE

Accessibility & contrast

On white

6.65
#9D2E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2E84
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E84#FFFFFF#000000##FFFFFF
##9D2E841.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2e84;
/* rgb */ color: rgb(157, 46, 132);
/* oklch */ color: oklch(49.9% 0.174 338.3);
Tailwind
colors: {
  custom: {
    50: '#bd71a8',
    500: '#9d2e84',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e84;
$custom-light: #bd71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e84",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 313.514,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49897,
    "c": 0.17368,
    "h": 338.3
  },
  "luminance": 0.10788
}

Semantic roles & 50–950 ramp

primary
#9D2E84
secondary
#6ABD7D
accent
#DE6B4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9D2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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