#9F1D84#9F1D84

#9F1D84 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.9% C 0.193 H 338.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9F1D84
RGBrgb(159, 29, 132)
HSLhsl(312, 69%, 37%)
HSVhsv(312, 82%, 62%)
CMYKcmyk(0%, 81.8%, 17%, 37.6%)
CIE-LABlab(37.69, 60.41, -26.09)
CIE-LCHlch(37.69, 65.81, 336.64°)
OKLaboklab(48.86% 0.1795 -0.0708)
OKLCHoklch(48.86% 0.193 338.5)
XYZxyz(18.9028, 9.9175, 22.7441)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D84 #1D9F38
analogous
#791D9F #9F1D84 #9F1D43
triadic
#9F1D84 #849F1D #1D849F
tetradic
#9F1D84 #9F791D #1D9F38 #1D439F
square
#9F1D84 #9F791D #1D9F38 #1D439F
split-complementary
#9F1D84 #439F1D #1D9F79
monochromatic
#370A2E #6B1459 #9F1D84 #D326AF #E056C4

Accessibility & contrast

On white

7.04
#9F1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9F1D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D84
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D84#FFFFFF#000000##FFFFFF
##9F1D841.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C87
Deuteranopia (green-blind)
#526081
Tritanopia (blue-blind)
#A82550
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1d84;
/* rgb */ color: rgb(159, 29, 132);
/* oklch */ color: oklch(48.9% 0.193 338.5);
Tailwind
colors: {
  custom: {
    50: '#bf6aa8',
    500: '#9f1d84',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d84;
$custom-light: #bf6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d84",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 312.462,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48859,
    "c": 0.19296,
    "h": 338.5
  },
  "luminance": 0.09916
}

Semantic roles & 50–950 ramp

primary
#9F1D84
secondary
#54C46B
accent
#EC603C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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