#9F287F#9F287F

#9F287F is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.179 H 341.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9F287F
RGBrgb(159, 40, 127)
HSLhsl(316, 60%, 39%)
HSVhsv(316, 75%, 62%)
CMYKcmyk(0%, 74.8%, 20.1%, 37.6%)
CIE-LABlab(38.59, 56.47, -21.60)
CIE-LCHlch(38.59, 60.46, 339.07°)
OKLaboklab(49.43% 0.169 -0.0582)
OKLCHoklch(49.43% 0.179 341)
XYZxyz(18.8882, 10.4227, 21.0916)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F287F #289F48
analogous
#84289F #9F287F #9F2844
triadic
#9F287F #7F9F28 #287F9F
tetradic
#9F287F #9F8428 #289F48 #28449F
square
#9F287F #9F8428 #289F48 #28449F
split-complementary
#9F287F #449F28 #289F84
monochromatic
#3D0F31 #6E1C58 #9F287F #CD37A5 #D968BB

Accessibility & contrast

On white

6.81
#9F287F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9F287F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F287F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F287F#FFFFFF#000000##FFFFFF
##9F287F1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324F81
Deuteranopia (green-blind)
#58627C
Tritanopia (blue-blind)
#A92B50
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f287f;
/* rgb */ color: rgb(159, 40, 127);
/* oklch */ color: oklch(49.4% 0.179 341.0);
Tailwind
colors: {
  custom: {
    50: '#bf6ea4',
    500: '#9f287f',
    950: '#000000',
  },
}
SCSS
$custom: #9f287f;
$custom-light: #bf6ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f287f",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 316.134,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49429,
    "c": 0.17874,
    "h": 341
  },
  "luminance": 0.10421
}

Semantic roles & 50–950 ramp

primary
#9F287F
secondary
#64BF7C
accent
#E36F45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F287F

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

Preview Lab → · Contrast checker → · Palette generator →

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