#9F287E#9F287E

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

Color values

HEX#9F287E
RGBrgb(159, 40, 126)
HSLhsl(317, 60%, 39%)
HSVhsv(317, 75%, 62%)
CMYKcmyk(0%, 74.8%, 20.8%, 37.6%)
CIE-LABlab(38.55, 56.34, -21.05)
CIE-LCHlch(38.55, 60.14, 339.51°)
OKLaboklab(49.38% 0.1689 -0.0566)
OKLCHoklch(49.38% 0.178 341.5)
XYZxyz(18.8234, 10.3968, 20.7501)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F287E #289F49
analogous
#85289F #9F287E #9F2842
triadic
#9F287E #7E9F28 #287E9F
tetradic
#9F287E #9F8528 #289F49 #28429F
square
#9F287E #9F8528 #289F49 #28429F
split-complementary
#9F287E #429F28 #289F85
monochromatic
#3D0F31 #6E1C57 #9F287E #CD37A3 #D968BA

Accessibility & contrast

On white

6.82
#9F287E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F287E
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F287E#FFFFFF#000000##FFFFFF
##9F287E1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E80
Deuteranopia (green-blind)
#58627B
Tritanopia (blue-blind)
#A92A50
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f287e;
/* rgb */ color: rgb(159, 40, 126);
/* oklch */ color: oklch(49.4% 0.178 341.5);
Tailwind
colors: {
  custom: {
    50: '#bf6ea3',
    500: '#9f287e',
    950: '#000000',
  },
}
SCSS
$custom: #9f287e;
$custom-light: #bf6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f287e",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 316.639,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49381,
    "c": 0.17809,
    "h": 341.5
  },
  "luminance": 0.10395
}

Semantic roles & 50–950 ramp

primary
#9F287E
secondary
#64BF7D
accent
#E37145
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F287E

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

Preview Lab → · Contrast checker → · Palette generator →

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