#9F1A84#9F1A84

#9F1A84 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.7% C 0.195 H 338.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9F1A84
RGBrgb(159, 26, 132)
HSLhsl(312, 72%, 36%)
HSVhsv(312, 84%, 62%)
CMYKcmyk(0%, 83.6%, 17%, 37.6%)
CIE-LABlab(37.44, 61.15, -26.49)
CIE-LCHlch(37.44, 66.64, 336.58°)
OKLaboklab(48.68% 0.1817 -0.072)
OKLCHoklch(48.68% 0.195 338.4)
XYZxyz(18.8328, 9.7776, 22.7208)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A84 #1A9F35
analogous
#781A9F #9F1A84 #9F1A42
triadic
#9F1A84 #849F1A #1A849F
tetradic
#9F1A84 #9F781A #1A9F35 #1A429F
square
#9F1A84 #9F781A #1A9F35 #1A429F
split-complementary
#9F1A84 #429F1A #1A9F78
monochromatic
#36092D #6A1158 #9F1A84 #D423B0 #E351C5

Accessibility & contrast

On white

7.11
#9F1A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F1A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A84
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A84#FFFFFF#000000##FFFFFF
##9F1A841.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B87
Deuteranopia (green-blind)
#525F81
Tritanopia (blue-blind)
#A8234F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1a84;
/* rgb */ color: rgb(159, 26, 132);
/* oklch */ color: oklch(48.7% 0.195 338.4);
Tailwind
colors: {
  custom: {
    50: '#c069a8',
    500: '#9f1a84',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a84;
$custom-light: #c069a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a84",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 312.18,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48677,
    "c": 0.19543,
    "h": 338.4
  },
  "luminance": 0.09776
}

Semantic roles & 50–950 ramp

primary
#9F1A84
secondary
#50C568
accent
#EF5E39
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1A84

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

Preview Lab → · Contrast checker → · Palette generator →

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