#9F1B84#9F1B84

#9F1B84 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.08:1 contrast (WCAG AA passes).

Color values

HEX#9F1B84
RGBrgb(159, 27, 132)
HSLhsl(312, 71%, 36%)
HSVhsv(312, 83%, 62%)
CMYKcmyk(0%, 83%, 17%, 37.6%)
CIE-LABlab(37.52, 60.91, -26.36)
CIE-LCHlch(37.52, 66.37, 336.60°)
OKLaboklab(48.74% 0.181 -0.0716)
OKLCHoklch(48.74% 0.195 338.4)
XYZxyz(18.8554, 9.8226, 22.7283)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B84 #1B9F36
analogous
#781B9F #9F1B84 #9F1B42
triadic
#9F1B84 #849F1B #1B849F
tetradic
#9F1B84 #9F781B #1B9F36 #1B429F
square
#9F1B84 #9F781B #1B9F36 #1B429F
split-complementary
#9F1B84 #429F1B #1B9F78
monochromatic
#36092D #6B1259 #9F1B84 #D324AF #E253C4

Accessibility & contrast

On white

7.08
#9F1B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1B84
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B84#FFFFFF#000000##FFFFFF
##9F1B841.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1b84;
/* rgb */ color: rgb(159, 27, 132);
/* oklch */ color: oklch(48.7% 0.195 338.4);
Tailwind
colors: {
  custom: {
    50: '#bf6aa8',
    500: '#9f1b84',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b84;
$custom-light: #bf6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b84",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 312.273,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48736,
    "c": 0.19463,
    "h": 338.4
  },
  "luminance": 0.09821
}

Semantic roles & 50–950 ramp

primary
#9F1B84
secondary
#51C569
accent
#EE5F3A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1B84

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

Preview Lab → · Contrast checker → · Palette generator →

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