#9D287D#9D287D

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

Color values

HEX#9D287D
RGBrgb(157, 40, 125)
HSLhsl(316, 59%, 39%)
HSVhsv(316, 75%, 62%)
CMYKcmyk(0%, 74.5%, 20.4%, 38.4%)
CIE-LABlab(38.14, 55.69, -21.08)
CIE-LCHlch(38.14, 59.55, 339.27°)
OKLaboklab(49.01% 0.1667 -0.0567)
OKLCHoklch(49.01% 0.176 341.2)
XYZxyz(18.3657, 10.1682, 20.3935)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D287D #289D48
analogous
#82289D #9D287D #9D2842
triadic
#9D287D #7D9D28 #287D9D
tetradic
#9D287D #9D8228 #289D48 #28429D
square
#9D287D #9D8228 #289D48 #28429D
split-complementary
#9D287D #429D28 #289D82
monochromatic
#3B0F2F #6C1C56 #9D287D #CC36A3 #D867B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D287D#FFFFFF#000000##FFFFFF
##9D287D1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E7F
Deuteranopia (green-blind)
#57617A
Tritanopia (blue-blind)
#A72A4F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d287d;
/* rgb */ color: rgb(157, 40, 125);
/* oklch */ color: oklch(49.0% 0.176 341.2);
Tailwind
colors: {
  custom: {
    50: '#be6ea3',
    500: '#9d287d',
    950: '#000000',
  },
}
SCSS
$custom: #9d287d;
$custom-light: #be6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d287d",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 316.41,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49007,
    "c": 0.17613,
    "h": 341.2
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#9D287D
secondary
#62BE7C
accent
#E37045
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9D287D

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

Preview Lab → · Contrast checker → · Palette generator →

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