#9F1D86#9F1D86

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

Color values

HEX#9F1D86
RGBrgb(159, 29, 134)
HSLhsl(312, 69%, 37%)
HSVhsv(312, 82%, 62%)
CMYKcmyk(0%, 81.8%, 15.7%, 37.6%)
CIE-LABlab(37.79, 60.69, -27.17)
CIE-LCHlch(37.79, 66.50, 335.88°)
OKLaboklab(48.96% 0.1797 -0.0739)
OKLCHoklch(48.96% 0.194 337.6)
XYZxyz(19.0410, 9.9728, 23.4718)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D86 #1D9F36
analogous
#771D9F #9F1D86 #9F1D45
triadic
#9F1D86 #869F1D #1D869F
tetradic
#9F1D86 #9F771D #1D9F36 #1D459F
square
#9F1D86 #9F771D #1D9F36 #1D459F
split-complementary
#9F1D86 #459F1D #1D9F77
monochromatic
#370A2F #6B145A #9F1D86 #D326B2 #E056C6

Accessibility & contrast

On white

7.01
#9F1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9F1D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D86
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D86#FFFFFF#000000##FFFFFF
##9F1D861.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C89
Deuteranopia (green-blind)
#526083
Tritanopia (blue-blind)
#A82651
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1d86;
/* rgb */ color: rgb(159, 29, 134);
/* oklch */ color: oklch(49.0% 0.194 337.6);
Tailwind
colors: {
  custom: {
    50: '#bf6aa9',
    500: '#9f1d86',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d86;
$custom-light: #bf6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d86",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 311.538,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48963,
    "c": 0.19428,
    "h": 337.6
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#9F1D86
secondary
#54C46A
accent
#EC5E3C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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