#9D2687#9D2687

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

Color values

HEX#9D2687
RGBrgb(157, 38, 135)
HSLhsl(311, 61%, 38%)
HSVhsv(311, 76%, 62%)
CMYKcmyk(0%, 75.8%, 14%, 38.4%)
CIE-LABlab(38.39, 57.79, -26.89)
CIE-LCHlch(38.39, 63.74, 335.05°)
OKLaboklab(49.34% 0.17 -0.0732)
OKLCHoklch(49.34% 0.185 336.7)
XYZxyz(18.9713, 10.3054, 23.9070)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2687 #269D3C
analogous
#77269D #9D2687 #9D264C
triadic
#9D2687 #879D26 #26879D
tetradic
#9D2687 #9D7726 #269D3C #264C9D
square
#9D2687 #9D7726 #269D3C #264C9D
split-complementary
#9D2687 #4C9D26 #269D77
monochromatic
#3A0E32 #6C1A5D #9D2687 #CE33B1 #D964C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2687#FFFFFF#000000##FFFFFF
##9D26871.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)
#294F8A
Deuteranopia (green-blind)
#526184
Tritanopia (blue-blind)
#A52E54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2687;
/* rgb */ color: rgb(157, 38, 135);
/* oklch */ color: oklch(49.3% 0.185 336.7);
Tailwind
colors: {
  custom: {
    50: '#be6daa',
    500: '#9d2687',
    950: '#000000',
  },
}
SCSS
$custom: #9d2687;
$custom-light: #be6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2687",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 311.092,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49337,
    "c": 0.18514,
    "h": 336.7
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#9D2687
secondary
#60BF71
accent
#E46144
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D2687

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

Preview Lab → · Contrast checker → · Palette generator →

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