#9D2586#9D2586

#9D2586 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.2% C 0.186 H 337.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9D2586
RGBrgb(157, 37, 134)
HSLhsl(312, 62%, 38%)
HSVhsv(312, 76%, 62%)
CMYKcmyk(0%, 76.4%, 14.6%, 38.4%)
CIE-LABlab(38.22, 57.96, -26.52)
CIE-LCHlch(38.22, 63.74, 335.41°)
OKLaboklab(49.21% 0.1709 -0.0722)
OKLCHoklch(49.21% 0.186 337.1)
XYZxyz(18.8696, 10.2142, 23.5274)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2586 #259D3C
analogous
#78259D #9D2586 #9D254A
triadic
#9D2586 #869D25 #25869D
tetradic
#9D2586 #9D7825 #259D3C #254A9D
square
#9D2586 #9D7825 #259D3C #254A9D
split-complementary
#9D2586 #4A9D25 #259D78
monochromatic
#3A0E31 #6B195C #9D2586 #CE31B0 #DA62C3

Accessibility & contrast

On white

6.90
#9D2586 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9D2586 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2586
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2586#FFFFFF#000000##FFFFFF
##9D25861.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E89
Deuteranopia (green-blind)
#526083
Tritanopia (blue-blind)
#A62D53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2586;
/* rgb */ color: rgb(157, 37, 134);
/* oklch */ color: oklch(49.2% 0.186 337.1);
Tailwind
colors: {
  custom: {
    50: '#be6da9',
    500: '#9d2586',
    950: '#000000',
  },
}
SCSS
$custom: #9d2586;
$custom-light: #be6da9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2586",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 311.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49205,
    "c": 0.18551,
    "h": 337.1
  },
  "luminance": 0.10212
}

Semantic roles & 50–950 ramp

primary
#9D2586
secondary
#5EBF71
accent
#E56243
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D2586

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

Preview Lab → · Contrast checker → · Palette generator →

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