#9D2487#9D2487

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

Color values

HEX#9D2487
RGBrgb(157, 36, 135)
HSLhsl(311, 63%, 38%)
HSVhsv(311, 77%, 62%)
CMYKcmyk(0%, 77.1%, 14%, 38.4%)
CIE-LABlab(38.17, 58.42, -27.23)
CIE-LCHlch(38.17, 64.45, 335.00°)
OKLaboklab(49.18% 0.1719 -0.0742)
OKLCHoklch(49.18% 0.187 336.7)
XYZxyz(18.9090, 10.1809, 23.8862)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2487 #249D3A
analogous
#76249D #9D2487 #9D244B
triadic
#9D2487 #879D24 #24879D
tetradic
#9D2487 #9D7624 #249D3A #244B9D
square
#9D2487 #9D7624 #249D3A #244B9D
split-complementary
#9D2487 #4B9D24 #249D76
monochromatic
#390D31 #6B195C #9D2487 #CF2FB2 #DB61C5

Accessibility & contrast

On white

6.92
#9D2487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2487
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2487#FFFFFF#000000##FFFFFF
##9D24871.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E8A
Deuteranopia (green-blind)
#526084
Tritanopia (blue-blind)
#A52D53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2487;
/* rgb */ color: rgb(157, 36, 135);
/* oklch */ color: oklch(49.2% 0.187 336.7);
Tailwind
colors: {
  custom: {
    50: '#be6caa',
    500: '#9d2487',
    950: '#000000',
  },
}
SCSS
$custom: #9d2487;
$custom-light: #be6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2487",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 310.909,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49179,
    "c": 0.18725,
    "h": 336.7
  },
  "luminance": 0.10179
}

Semantic roles & 50–950 ramp

primary
#9D2487
secondary
#5DC06F
accent
#E66042
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D2487

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

Preview Lab → · Contrast checker → · Palette generator →

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