#9F1579#9F1579

#9F1579 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.9% C 0.192 H 342.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9F1579
RGBrgb(159, 21, 121)
HSLhsl(317, 77%, 35%)
HSVhsv(317, 87%, 62%)
CMYKcmyk(0%, 86.8%, 23.9%, 37.6%)
CIE-LABlab(36.54, 60.78, -21.04)
CIE-LCHlch(36.54, 64.32, 340.90°)
OKLaboklab(47.86% 0.1838 -0.0565)
OKLCHoklch(47.86% 0.192 342.9)
XYZxyz(18.0182, 9.2897, 18.9297)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1579 #159F3B
analogous
#80159F #9F1579 #9F1534
triadic
#9F1579 #799F15 #15799F
tetradic
#9F1579 #9F8015 #159F3B #15349F
square
#9F1579 #9F8015 #159F3B #15349F
split-complementary
#9F1579 #349F15 #159F80
monochromatic
#330727 #690E50 #9F1579 #D51CA2 #E748BB

Accessibility & contrast

On white

7.35
#9F1579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9F1579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1579
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1579#FFFFFF#000000##FFFFFF
##9F15791.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#555E76
Tritanopia (blue-blind)
#AA1648
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1579;
/* rgb */ color: rgb(159, 21, 121);
/* oklch */ color: oklch(47.9% 0.192 342.9);
Tailwind
colors: {
  custom: {
    50: '#c067a0',
    500: '#9f1579',
    950: '#000000',
  },
}
SCSS
$custom: #9f1579;
$custom-light: #c067a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1579",
  "rgb": {
    "r": 159,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 316.522,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47857,
    "c": 0.19225,
    "h": 342.9
  },
  "luminance": 0.09288
}

Semantic roles & 50–950 ramp

primary
#9F1579
secondary
#48C86B
accent
#F36935
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1579

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

Preview Lab → · Contrast checker → · Palette generator →

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