#9F1784#9F1784

#9F1784 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.198 H 338.3°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9F1784
RGBrgb(159, 23, 132)
HSLhsl(312, 75%, 36%)
HSVhsv(312, 86%, 62%)
CMYKcmyk(0%, 85.5%, 17%, 37.6%)
CIE-LABlab(37.21, 61.82, -26.85)
CIE-LCHlch(37.21, 67.40, 336.52°)
OKLaboklab(48.51% 0.1837 -0.073)
OKLCHoklch(48.51% 0.198 338.3)
XYZxyz(18.7698, 9.6516, 22.6998)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1784 #179F32
analogous
#76179F #9F1784 #9F1740
triadic
#9F1784 #849F17 #17849F
tetradic
#9F1784 #9F7617 #179F32 #17409F
square
#9F1784 #9F7617 #179F32 #17409F
split-complementary
#9F1784 #409F17 #179F76
monochromatic
#34082B #6A0F58 #9F1784 #D41FB0 #E54BC7

Accessibility & contrast

On white

7.17
#9F1784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9F1784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1784
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1784#FFFFFF#000000##FFFFFF
##9F17841.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204A87
Deuteranopia (green-blind)
#515F81
Tritanopia (blue-blind)
#A8214F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1784;
/* rgb */ color: rgb(159, 23, 132);
/* oklch */ color: oklch(48.5% 0.198 338.3);
Tailwind
colors: {
  custom: {
    50: '#c068a8',
    500: '#9f1784',
    950: '#000000',
  },
}
SCSS
$custom: #9f1784;
$custom-light: #c068a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1784",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 311.912,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48512,
    "c": 0.19768,
    "h": 338.3
  },
  "luminance": 0.0965
}

Semantic roles & 50–950 ramp

primary
#9F1784
secondary
#4BC764
accent
#F15C36
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1784

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

Preview Lab → · Contrast checker → · Palette generator →

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