#9F1578#9F1578

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

Color values

HEX#9F1578
RGBrgb(159, 21, 120)
HSLhsl(317, 77%, 35%)
HSVhsv(317, 87%, 62%)
CMYKcmyk(0%, 86.8%, 24.5%, 37.6%)
CIE-LABlab(36.49, 60.65, -20.49)
CIE-LCHlch(36.49, 64.02, 341.33°)
OKLaboklab(47.81% 0.1836 -0.0549)
OKLCHoklch(47.81% 0.192 343.4)
XYZxyz(17.9572, 9.2653, 18.6084)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1578 #159F3C
analogous
#81159F #9F1578 #9F1533
triadic
#9F1578 #789F15 #15789F
tetradic
#9F1578 #9F8115 #159F3C #15339F
square
#9F1578 #9F8115 #159F3C #15339F
split-complementary
#9F1578 #339F15 #159F81
monochromatic
#330726 #690E4F #9F1578 #D51CA1 #E748BA

Accessibility & contrast

On white

7.36
#9F1578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1578
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1578#FFFFFF#000000##FFFFFF
##9F15781.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29487A
Deuteranopia (green-blind)
#555E75
Tritanopia (blue-blind)
#AA1548
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1578;
/* rgb */ color: rgb(159, 21, 120);
/* oklch */ color: oklch(47.8% 0.192 343.4);
Tailwind
colors: {
  custom: {
    50: '#c0679f',
    500: '#9f1578',
    950: '#000000',
  },
}
SCSS
$custom: #9f1578;
$custom-light: #c0679f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1578",
  "rgb": {
    "r": 159,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 316.957,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47808,
    "c": 0.19166,
    "h": 343.4
  },
  "luminance": 0.09263
}

Semantic roles & 50–950 ramp

primary
#9F1578
secondary
#48C86C
accent
#F36A35
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1578

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

Preview Lab → · Contrast checker → · Palette generator →

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