#9F1571#9F1571

#9F1571 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.188 H 346.5°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9F1571
RGBrgb(159, 21, 113)
HSLhsl(320, 77%, 35%)
HSVhsv(320, 87%, 62%)
CMYKcmyk(0%, 86.8%, 28.9%, 37.6%)
CIE-LABlab(36.18, 59.80, -16.56)
CIE-LCHlch(36.18, 62.05, 344.52°)
OKLaboklab(47.48% 0.1825 -0.0439)
OKLCHoklch(47.48% 0.188 346.5)
XYZxyz(17.5478, 9.1016, 16.4523)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1571 #159F43
analogous
#88159F #9F1571 #9F152C
triadic
#9F1571 #719F15 #15719F
tetradic
#9F1571 #9F8815 #159F43 #152C9F
square
#9F1571 #9F8815 #159F43 #152C9F
split-complementary
#9F1571 #2C9F15 #159F88
monochromatic
#330724 #690E4B #9F1571 #D51C97 #E748B2

Accessibility & contrast

On white

7.45
#9F1571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9F1571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1571
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1571#FFFFFF#000000##FFFFFF
##9F15711.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4673
Deuteranopia (green-blind)
#575D6E
Tritanopia (blue-blind)
#AB0D44
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1571;
/* rgb */ color: rgb(159, 21, 113);
/* oklch */ color: oklch(47.5% 0.188 346.5);
Tailwind
colors: {
  custom: {
    50: '#c0679a',
    500: '#9f1571',
    950: '#000000',
  },
}
SCSS
$custom: #9f1571;
$custom-light: #c0679a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1571",
  "rgb": {
    "r": 159,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 320,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47483,
    "c": 0.18767,
    "h": 346.5
  },
  "luminance": 0.091
}

Semantic roles & 50–950 ramp

primary
#9F1571
secondary
#48C873
accent
#F37435
background
#FCF6F9
surface
#F8EBF2
border
#D1C6CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1571

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

Preview Lab → · Contrast checker → · Palette generator →

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