#9F287A#9F287A

#9F287A is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.176 H 343.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9F287A
RGBrgb(159, 40, 122)
HSLhsl(319, 60%, 39%)
HSVhsv(319, 75%, 62%)
CMYKcmyk(0%, 74.8%, 23.3%, 37.6%)
CIE-LABlab(38.37, 55.79, -18.84)
CIE-LCHlch(38.37, 58.88, 341.34°)
OKLaboklab(49.2% 0.1682 -0.0504)
OKLCHoklch(49.2% 0.176 343.3)
XYZxyz(18.5704, 10.2956, 19.4178)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F287A #289F4D
analogous
#89289F #9F287A #9F283F
triadic
#9F287A #7A9F28 #287A9F
tetradic
#9F287A #9F8928 #289F4D #283F9F
square
#9F287A #9F8928 #289F4D #283F9F
split-complementary
#9F287A #3F9F28 #289F89
monochromatic
#3D0F2F #6E1C54 #9F287A #CD379E #D968B6

Accessibility & contrast

On white

6.87
#9F287A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F287A
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F287A#FFFFFF#000000##FFFFFF
##9F287A1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7C
Deuteranopia (green-blind)
#5A6177
Tritanopia (blue-blind)
#A9284E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f287a;
/* rgb */ color: rgb(159, 40, 122);
/* oklch */ color: oklch(49.2% 0.176 343.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ea0',
    500: '#9f287a',
    950: '#000000',
  },
}
SCSS
$custom: #9f287a;
$custom-light: #bf6ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f287a",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 318.655,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49195,
    "c": 0.17554,
    "h": 343.3
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#9F287A
secondary
#64BF80
accent
#E37645
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F287A

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

Preview Lab → · Contrast checker → · Palette generator →

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