#9D2589#9D2589

#9D2589 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.4% C 0.188 H 335.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9D2589
RGBrgb(157, 37, 137)
HSLhsl(310, 62%, 38%)
HSVhsv(310, 76%, 62%)
CMYKcmyk(0%, 76.4%, 12.7%, 38.4%)
CIE-LABlab(38.37, 58.40, -28.14)
CIE-LCHlch(38.37, 64.83, 334.28°)
OKLaboklab(49.36% 0.1712 -0.0768)
OKLCHoklch(49.36% 0.188 335.8)
XYZxyz(19.0818, 10.2991, 24.6450)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2589 #259D39
analogous
#75259D #9D2589 #9D254D
triadic
#9D2589 #899D25 #25899D
tetradic
#9D2589 #9D7525 #259D39 #254D9D
square
#9D2589 #9D7525 #259D39 #254D9D
split-complementary
#9D2589 #4D9D25 #259D75
monochromatic
#3A0E33 #6B195E #9D2589 #CE31B4 #DA62C6

Accessibility & contrast

On white

6.86
#9D2589 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9D2589 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2589
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2589#FFFFFF#000000##FFFFFF
##9D25891.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8C
Deuteranopia (green-blind)
#516186
Tritanopia (blue-blind)
#A52E55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2589;
/* rgb */ color: rgb(157, 37, 137);
/* oklch */ color: oklch(49.4% 0.188 335.8);
Tailwind
colors: {
  custom: {
    50: '#be6dac',
    500: '#9d2589',
    950: '#000000',
  },
}
SCSS
$custom: #9d2589;
$custom-light: #be6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2589",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 310,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49362,
    "c": 0.18761,
    "h": 335.8
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#9D2589
secondary
#5EBF6F
accent
#E55E43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D2589

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

Preview Lab → · Contrast checker → · Palette generator →

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