#9F1D87#9F1D87

#9F1D87 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 49.0% C 0.195 H 337.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9F1D87
RGBrgb(159, 29, 135)
HSLhsl(311, 69%, 37%)
HSVhsv(311, 82%, 62%)
CMYKcmyk(0%, 81.8%, 15.1%, 37.6%)
CIE-LABlab(37.84, 60.84, -27.71)
CIE-LCHlch(37.84, 66.85, 335.51°)
OKLaboklab(49.02% 0.1797 -0.0755)
OKLCHoklch(49.02% 0.195 337.2)
XYZxyz(19.1110, 10.0008, 23.8408)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D87 #1D9F35
analogous
#761D9F #9F1D87 #9F1D46
triadic
#9F1D87 #879F1D #1D879F
tetradic
#9F1D87 #9F761D #1D9F35 #1D469F
square
#9F1D87 #9F761D #1D9F35 #1D469F
split-complementary
#9F1D87 #469F1D #1D9F76
monochromatic
#370A2F #6B145B #9F1D87 #D326B3 #E056C7

Accessibility & contrast

On white

7.00
#9F1D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9F1D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1D87
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D87#FFFFFF#000000##FFFFFF
##9F1D871.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D8A
Deuteranopia (green-blind)
#516084
Tritanopia (blue-blind)
#A82752
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1d87;
/* rgb */ color: rgb(159, 29, 135);
/* oklch */ color: oklch(49.0% 0.195 337.2);
Tailwind
colors: {
  custom: {
    50: '#bf6aaa',
    500: '#9f1d87',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d87;
$custom-light: #bf6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d87",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 311.077,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49016,
    "c": 0.19495,
    "h": 337.2
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#9F1D87
secondary
#54C469
accent
#EC5C3C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1D87

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

Preview Lab → · Contrast checker → · Palette generator →

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