#9D2B87#9D2B87

#9D2B87 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.179 H 336.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9D2B87
RGBrgb(157, 43, 135)
HSLhsl(312, 57%, 39%)
HSVhsv(312, 73%, 62%)
CMYKcmyk(0%, 72.6%, 14%, 38.4%)
CIE-LABlab(38.98, 56.10, -25.96)
CIE-LCHlch(38.98, 61.82, 335.17°)
OKLaboklab(49.77% 0.165 -0.0706)
OKLCHoklch(49.77% 0.179 336.8)
XYZxyz(19.1420, 10.6469, 23.9639)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2B87 #2B9D41
analogous
#7A2B9D #9D2B87 #9D2B4E
triadic
#9D2B87 #879D2B #2B879D
tetradic
#9D2B87 #9D7A2B #2B9D41 #2B4E9D
square
#9D2B87 #9D7A2B #2B9D41 #2B4E9D
split-complementary
#9D2B87 #4E9D2B #2B9D7A
monochromatic
#3D1134 #6D1E5E #9D2B87 #CA3CAE #D76CC2

Accessibility & contrast

On white

6.71
#9D2B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9D2B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2B87
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2B87#FFFFFF#000000##FFFFFF
##9D2B871.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E518A
Deuteranopia (green-blind)
#546284
Tritanopia (blue-blind)
#A53255
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2b87;
/* rgb */ color: rgb(157, 43, 135);
/* oklch */ color: oklch(49.8% 0.179 336.8);
Tailwind
colors: {
  custom: {
    50: '#bd6faa',
    500: '#9d2b87',
    950: '#000000',
  },
}
SCSS
$custom: #9d2b87;
$custom-light: #bd6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2b87",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 311.579,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49766,
    "c": 0.17948,
    "h": 336.8
  },
  "luminance": 0.10645
}

Semantic roles & 50–950 ramp

primary
#9D2B87
secondary
#66BD77
accent
#E06548
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D2B87

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

Preview Lab → · Contrast checker → · Palette generator →

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