#9D287A#9D287A

#9D287A is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.174 H 342.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9D287A
RGBrgb(157, 40, 122)
HSLhsl(318, 59%, 39%)
HSVhsv(318, 75%, 62%)
CMYKcmyk(0%, 74.5%, 22.3%, 38.4%)
CIE-LABlab(38.01, 55.27, -19.42)
CIE-LCHlch(38.01, 58.59, 340.64°)
OKLaboklab(48.87% 0.1662 -0.0521)
OKLCHoklch(48.87% 0.174 342.6)
XYZxyz(18.1769, 10.0927, 19.3994)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D287A #289D4B
analogous
#85289D #9D287A #9D283F
triadic
#9D287A #7A9D28 #287A9D
tetradic
#9D287A #9D8528 #289D4B #283F9D
square
#9D287A #9D8528 #289D4B #283F9D
split-complementary
#9D287A #3F9D28 #289D85
monochromatic
#3B0F2E #6C1C54 #9D287A #CC369F #D867B6

Accessibility & contrast

On white

6.96
#9D287A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9D287A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D287A
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D287A#FFFFFF#000000##FFFFFF
##9D287A1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7C
Deuteranopia (green-blind)
#586077
Tritanopia (blue-blind)
#A7294E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d287a;
/* rgb */ color: rgb(157, 40, 122);
/* oklch */ color: oklch(48.9% 0.174 342.6);
Tailwind
colors: {
  custom: {
    50: '#be6ea0',
    500: '#9d287a',
    950: '#000000',
  },
}
SCSS
$custom: #9d287a;
$custom-light: #be6ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d287a",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 317.949,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48866,
    "c": 0.17419,
    "h": 342.6
  },
  "luminance": 0.10091
}

Semantic roles & 50–950 ramp

primary
#9D287A
secondary
#62BE7E
accent
#E37445
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D287A

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

Preview Lab → · Contrast checker → · Palette generator →

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