#9F1573#9F1573

#9F1573 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.6% C 0.189 H 345.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9F1573
RGBrgb(159, 21, 115)
HSLhsl(319, 77%, 35%)
HSVhsv(319, 87%, 62%)
CMYKcmyk(0%, 86.8%, 27.7%, 37.6%)
CIE-LABlab(36.27, 60.04, -17.69)
CIE-LCHlch(36.27, 62.59, 343.58°)
OKLaboklab(47.57% 0.1828 -0.0471)
OKLCHoklch(47.57% 0.189 345.6)
XYZxyz(17.6616, 9.1471, 17.0518)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1573 #159F41
analogous
#86159F #9F1573 #9F152E
triadic
#9F1573 #739F15 #15739F
tetradic
#9F1573 #9F8615 #159F41 #152E9F
square
#9F1573 #9F8615 #159F41 #152E9F
split-complementary
#9F1573 #2E9F15 #159F86
monochromatic
#330725 #690E4C #9F1573 #D51C9A #E748B4

Accessibility & contrast

On white

7.42
#9F1573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9F1573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1573
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1573#FFFFFF#000000##FFFFFF
##9F15731.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4775
Deuteranopia (green-blind)
#575D70
Tritanopia (blue-blind)
#AA1045
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1573;
/* rgb */ color: rgb(159, 21, 115);
/* oklch */ color: oklch(47.6% 0.189 345.6);
Tailwind
colors: {
  custom: {
    50: '#c0679b',
    500: '#9f1573',
    950: '#000000',
  },
}
SCSS
$custom: #9f1573;
$custom-light: #c0679b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1573",
  "rgb": {
    "r": 159,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 319.13,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47574,
    "c": 0.18878,
    "h": 345.6
  },
  "luminance": 0.09145
}

Semantic roles & 50–950 ramp

primary
#9F1573
secondary
#48C871
accent
#F37135
background
#FCF6F9
surface
#F8EBF2
border
#D1C6CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1573

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

Preview Lab → · Contrast checker → · Palette generator →

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