#9F1584#9F1584

#9F1584 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.4% C 0.199 H 338.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9F1584
RGBrgb(159, 21, 132)
HSLhsl(312, 77%, 35%)
HSVhsv(312, 87%, 62%)
CMYKcmyk(0%, 86.8%, 17%, 37.6%)
CIE-LABlab(37.07, 62.23, -27.07)
CIE-LCHlch(37.07, 67.86, 336.49°)
OKLaboklab(48.41% 0.185 -0.0736)
OKLCHoklch(48.41% 0.199 338.3)
XYZxyz(18.7316, 9.5751, 22.6870)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1584 #159F30
analogous
#75159F #9F1584 #9F153F
triadic
#9F1584 #849F15 #15849F
tetradic
#9F1584 #9F7515 #159F30 #153F9F
square
#9F1584 #9F7515 #159F30 #153F9F
split-complementary
#9F1584 #3F9F15 #159F75
monochromatic
#33072A #690E57 #9F1584 #D51CB1 #E748C8

Accessibility & contrast

On white

7.21
#9F1584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9F1584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1584
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1584#FFFFFF#000000##FFFFFF
##9F15841.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4A87
Deuteranopia (green-blind)
#505E81
Tritanopia (blue-blind)
#A81F4E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1584;
/* rgb */ color: rgb(159, 21, 132);
/* oklch */ color: oklch(48.4% 0.199 338.3);
Tailwind
colors: {
  custom: {
    50: '#c068a8',
    500: '#9f1584',
    950: '#000000',
  },
}
SCSS
$custom: #9f1584;
$custom-light: #c068a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1584",
  "rgb": {
    "r": 159,
    "g": 21,
    "b": 132
  },
  "hsl": {
    "h": 311.739,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48411,
    "c": 0.19906,
    "h": 338.3
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

primary
#9F1584
secondary
#48C861
accent
#F35A35
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1584

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

Preview Lab → · Contrast checker → · Palette generator →

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