#9F1D88#9F1D88

#9F1D88 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 49.1% C 0.196 H 336.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9F1D88
RGBrgb(159, 29, 136)
HSLhsl(311, 69%, 37%)
HSVhsv(311, 82%, 62%)
CMYKcmyk(0%, 81.8%, 14.5%, 37.6%)
CIE-LABlab(37.89, 60.98, -28.25)
CIE-LCHlch(37.89, 67.20, 335.14°)
OKLaboklab(49.07% 0.1798 -0.077)
OKLCHoklch(49.07% 0.196 336.8)
XYZxyz(19.1818, 10.0291, 24.2134)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D88 #1D9F34
analogous
#751D9F #9F1D88 #9F1D47
triadic
#9F1D88 #889F1D #1D889F
tetradic
#9F1D88 #9F751D #1D9F34 #1D479F
square
#9F1D88 #9F751D #1D9F34 #1D479F
split-complementary
#9F1D88 #479F1D #1D9F75
monochromatic
#370A2F #6B145C #9F1D88 #D326B4 #E056C8

Accessibility & contrast

On white

6.99
#9F1D88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9F1D88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1D88
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D88#FFFFFF#000000##FFFFFF
##9F1D881.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214D8B
Deuteranopia (green-blind)
#516085
Tritanopia (blue-blind)
#A82752
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1d88;
/* rgb */ color: rgb(159, 29, 136);
/* oklch */ color: oklch(49.1% 0.196 336.8);
Tailwind
colors: {
  custom: {
    50: '#bf6aab',
    500: '#9f1d88',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d88;
$custom-light: #bf6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d88",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 310.615,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49068,
    "c": 0.19562,
    "h": 336.8
  },
  "luminance": 0.10027
}

Semantic roles & 50–950 ramp

primary
#9F1D88
secondary
#54C468
accent
#EC5B3C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1D88

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

Preview Lab → · Contrast checker → · Palette generator →

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