#9F1572#9F1572

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

Color values

HEX#9F1572
RGBrgb(159, 21, 114)
HSLhsl(320, 77%, 35%)
HSVhsv(320, 87%, 62%)
CMYKcmyk(0%, 86.8%, 28.3%, 37.6%)
CIE-LABlab(36.22, 59.92, -17.13)
CIE-LCHlch(36.22, 62.32, 344.05°)
OKLaboklab(47.53% 0.1827 -0.0455)
OKLCHoklch(47.53% 0.188 346)
XYZxyz(17.6044, 9.1242, 16.7504)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1572 #159F42
analogous
#87159F #9F1572 #9F152D
triadic
#9F1572 #729F15 #15729F
tetradic
#9F1572 #9F8715 #159F42 #152D9F
square
#9F1572 #9F8715 #159F42 #152D9F
split-complementary
#9F1572 #2D9F15 #159F87
monochromatic
#330724 #690E4B #9F1572 #D51C99 #E748B3

Accessibility & contrast

On white

7.44
#9F1572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1572
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1572#FFFFFF#000000##FFFFFF
##9F15721.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4774
Deuteranopia (green-blind)
#575D6F
Tritanopia (blue-blind)
#AB0F44
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1572;
/* rgb */ color: rgb(159, 21, 114);
/* oklch */ color: oklch(47.5% 0.188 346.0);
Tailwind
colors: {
  custom: {
    50: '#c0679a',
    500: '#9f1572',
    950: '#000000',
  },
}
SCSS
$custom: #9f1572;
$custom-light: #c0679a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1572",
  "rgb": {
    "r": 159,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 319.565,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47528,
    "c": 0.18823,
    "h": 346
  },
  "luminance": 0.09122
}

Semantic roles & 50–950 ramp

primary
#9F1572
secondary
#48C872
accent
#F37335
background
#FCF6F9
surface
#F8EBF2
border
#D1C6CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1572

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

Preview Lab → · Contrast checker → · Palette generator →

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