#9F1577#9F1577

#9F1577 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.8% C 0.191 H 343.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9F1577
RGBrgb(159, 21, 119)
HSLhsl(317, 77%, 35%)
HSVhsv(317, 87%, 62%)
CMYKcmyk(0%, 86.8%, 25.2%, 37.6%)
CIE-LABlab(36.44, 60.53, -19.93)
CIE-LCHlch(36.44, 63.72, 341.77°)
OKLaboklab(47.76% 0.1835 -0.0533)
OKLCHoklch(47.76% 0.191 343.8)
XYZxyz(17.8968, 9.2412, 18.2904)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1577 #159F3D
analogous
#82159F #9F1577 #9F1532
triadic
#9F1577 #779F15 #15779F
tetradic
#9F1577 #9F8215 #159F3D #15329F
square
#9F1577 #9F8215 #159F3D #15329F
split-complementary
#9F1577 #329F15 #159F82
monochromatic
#330726 #690E4F #9F1577 #D51C9F #E748B9

Accessibility & contrast

On white

7.37
#9F1577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9F1577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1577
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1577#FFFFFF#000000##FFFFFF
##9F15771.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4779
Deuteranopia (green-blind)
#555E74
Tritanopia (blue-blind)
#AA1447
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1577;
/* rgb */ color: rgb(159, 21, 119);
/* oklch */ color: oklch(47.8% 0.191 343.8);
Tailwind
colors: {
  custom: {
    50: '#c0679e',
    500: '#9f1577',
    950: '#000000',
  },
}
SCSS
$custom: #9f1577;
$custom-light: #c0679e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1577",
  "rgb": {
    "r": 159,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 317.391,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47761,
    "c": 0.19108,
    "h": 343.8
  },
  "luminance": 0.09239
}

Semantic roles & 50–950 ramp

primary
#9F1577
secondary
#48C86D
accent
#F36C35
background
#FCF6F9
surface
#F8EBF2
border
#D1C6CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1577

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

Preview Lab → · Contrast checker → · Palette generator →

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