#9F287D#9F287D

#9F287D is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.177 H 341.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9F287D
RGBrgb(159, 40, 125)
HSLhsl(317, 60%, 39%)
HSVhsv(317, 75%, 62%)
CMYKcmyk(0%, 74.8%, 21.4%, 37.6%)
CIE-LABlab(38.50, 56.20, -20.50)
CIE-LCHlch(38.50, 59.82, 339.96°)
OKLaboklab(49.33% 0.1687 -0.0551)
OKLCHoklch(49.33% 0.177 341.9)
XYZxyz(18.7592, 10.3711, 20.4119)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F287D #289F4A
analogous
#86289F #9F287D #9F2842
triadic
#9F287D #7D9F28 #287D9F
tetradic
#9F287D #9F8628 #289F4A #28429F
square
#9F287D #9F8628 #289F4A #28429F
split-complementary
#9F287D #429F28 #289F86
monochromatic
#3D0F30 #6E1C57 #9F287D #CD37A2 #D968B9

Accessibility & contrast

On white

6.83
#9F287D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9F287D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F287D
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F287D#FFFFFF#000000##FFFFFF
##9F287D1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#59627A
Tritanopia (blue-blind)
#A92A4F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f287d;
/* rgb */ color: rgb(159, 40, 125);
/* oklch */ color: oklch(49.3% 0.177 341.9);
Tailwind
colors: {
  custom: {
    50: '#bf6ea3',
    500: '#9f287d',
    950: '#000000',
  },
}
SCSS
$custom: #9f287d;
$custom-light: #bf6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f287d",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 317.143,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49334,
    "c": 0.17744,
    "h": 341.9
  },
  "luminance": 0.10369
}

Semantic roles & 50–950 ramp

primary
#9F287D
secondary
#64BF7E
accent
#E37245
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F287D

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

Preview Lab → · Contrast checker → · Palette generator →

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