#9F1987#9F1987

#9F1987 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.8% C 0.198 H 337.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9F1987
RGBrgb(159, 25, 135)
HSLhsl(311, 73%, 36%)
HSVhsv(311, 84%, 62%)
CMYKcmyk(0%, 84.3%, 15.1%, 37.6%)
CIE-LABlab(37.51, 61.80, -28.23)
CIE-LCHlch(37.51, 67.94, 335.45°)
OKLaboklab(48.78% 0.1826 -0.0769)
OKLCHoklch(48.78% 0.198 337.2)
XYZxyz(19.0193, 9.8173, 23.8103)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1987 #199F31
analogous
#74199F #9F1987 #9F1944
triadic
#9F1987 #879F19 #19879F
tetradic
#9F1987 #9F7419 #199F31 #19449F
square
#9F1987 #9F7419 #199F31 #19449F
split-complementary
#9F1987 #449F19 #199F74
monochromatic
#35082D #6A115A #9F1987 #D421B4 #E34FC9

Accessibility & contrast

On white

7.09
#9F1987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F1987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1987
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1987#FFFFFF#000000##FFFFFF
##9F19871.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4C8A
Deuteranopia (green-blind)
#505F84
Tritanopia (blue-blind)
#A82451
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1987;
/* rgb */ color: rgb(159, 25, 135);
/* oklch */ color: oklch(48.8% 0.198 337.2);
Tailwind
colors: {
  custom: {
    50: '#c069aa',
    500: '#9f1987',
    950: '#000000',
  },
}
SCSS
$custom: #9f1987;
$custom-light: #c069aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1987",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 310.746,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48778,
    "c": 0.19817,
    "h": 337.2
  },
  "luminance": 0.09815
}

Semantic roles & 50–950 ramp

primary
#9F1987
secondary
#4EC664
accent
#F05938
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1987

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

Preview Lab → · Contrast checker → · Palette generator →

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