#9D2486#9D2486

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

Color values

HEX#9D2486
RGBrgb(157, 36, 134)
HSLhsl(311, 63%, 38%)
HSVhsv(311, 77%, 62%)
CMYKcmyk(0%, 77.1%, 14.6%, 38.4%)
CIE-LABlab(38.12, 58.27, -26.69)
CIE-LCHlch(38.12, 64.09, 335.39°)
OKLaboklab(49.13% 0.1718 -0.0727)
OKLCHoklch(49.13% 0.187 337.1)
XYZxyz(18.8389, 10.1529, 23.5172)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2486 #249D3B
analogous
#77249D #9D2486 #9D2449
triadic
#9D2486 #869D24 #24869D
tetradic
#9D2486 #9D7724 #249D3B #24499D
square
#9D2486 #9D7724 #249D3B #24499D
split-complementary
#9D2486 #499D24 #249D77
monochromatic
#390D31 #6B195C #9D2486 #CF2FB0 #DB61C4

Accessibility & contrast

On white

6.93
#9D2486 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9D2486 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2486
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2486#FFFFFF#000000##FFFFFF
##9D24861.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2486;
/* rgb */ color: rgb(157, 36, 134);
/* oklch */ color: oklch(49.1% 0.187 337.1);
Tailwind
colors: {
  custom: {
    50: '#be6ca9',
    500: '#9d2486',
    950: '#000000',
  },
}
SCSS
$custom: #9d2486;
$custom-light: #be6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2486",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 311.405,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49127,
    "c": 0.18655,
    "h": 337.1
  },
  "luminance": 0.10151
}

Semantic roles & 50–950 ramp

primary
#9D2486
secondary
#5DC070
accent
#E66142
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D2486

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

Preview Lab → · Contrast checker → · Palette generator →

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