#9F287C#9F287C

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

Color values

HEX#9F287C
RGBrgb(159, 40, 124)
HSLhsl(318, 60%, 39%)
HSVhsv(318, 75%, 62%)
CMYKcmyk(0%, 74.8%, 22%, 37.6%)
CIE-LABlab(38.46, 56.06, -19.95)
CIE-LCHlch(38.46, 59.50, 340.41°)
OKLaboklab(49.29% 0.1685 -0.0535)
OKLCHoklch(49.29% 0.177 342.4)
XYZxyz(18.6956, 10.3457, 20.0772)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F287C #289F4B
analogous
#87289F #9F287C #9F2841
triadic
#9F287C #7C9F28 #287C9F
tetradic
#9F287C #9F8728 #289F4B #28419F
square
#9F287C #9F8728 #289F4B #28419F
split-complementary
#9F287C #419F28 #289F87
monochromatic
#3D0F30 #6E1C56 #9F287C #CD37A1 #D968B8

Accessibility & contrast

On white

6.84
#9F287C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F287C
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F287C#FFFFFF#000000##FFFFFF
##9F287C1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7E
Deuteranopia (green-blind)
#596279
Tritanopia (blue-blind)
#A9294F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f287c;
/* rgb */ color: rgb(159, 40, 124);
/* oklch */ color: oklch(49.3% 0.177 342.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ea2',
    500: '#9f287c',
    950: '#000000',
  },
}
SCSS
$custom: #9f287c;
$custom-light: #bf6ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f287c",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 317.647,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49287,
    "c": 0.1768,
    "h": 342.4
  },
  "luminance": 0.10344
}

Semantic roles & 50–950 ramp

primary
#9F287C
secondary
#64BF7F
accent
#E37345
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #9F287C

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

Preview Lab → · Contrast checker → · Palette generator →

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