#9F1386#9F1386

#9F1386 is a mid, highly saturated pink. Relative luminance 0.096; OKLCH L 48.4% C 0.202 H 337.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9F1386
RGBrgb(159, 19, 134)
HSLhsl(311, 79%, 35%)
HSVhsv(311, 88%, 62%)
CMYKcmyk(0%, 88.1%, 15.7%, 37.6%)
CIE-LABlab(37.04, 62.88, -28.35)
CIE-LCHlch(37.04, 68.98, 335.73°)
OKLaboklab(48.42% 0.1862 -0.0773)
OKLCHoklch(48.42% 0.202 337.5)
XYZxyz(18.8345, 9.5598, 23.4030)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1386 #139F2C
analogous
#72139F #9F1386 #9F1340
triadic
#9F1386 #869F13 #13869F
tetradic
#9F1386 #9F7213 #139F2C #13409F
square
#9F1386 #9F7213 #139F2C #13409F
split-complementary
#9F1386 #409F13 #139F72
monochromatic
#32062A #680C58 #9F1386 #D61AB4 #E944CB

Accessibility & contrast

On white

7.21
#9F1386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9F1386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1386
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1386#FFFFFF#000000##FFFFFF
##9F13861.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A89
Deuteranopia (green-blind)
#4F5E83
Tritanopia (blue-blind)
#A81F4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1386;
/* rgb */ color: rgb(159, 19, 134);
/* oklch */ color: oklch(48.4% 0.202 337.5);
Tailwind
colors: {
  custom: {
    50: '#c067a9',
    500: '#9f1386',
    950: '#000000',
  },
}
SCSS
$custom: #9f1386;
$custom-light: #c067a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1386",
  "rgb": {
    "r": 159,
    "g": 19,
    "b": 134
  },
  "hsl": {
    "h": 310.714,
    "s": 78.652,
    "l": 34.902
  },
  "oklch": {
    "l": 0.48424,
    "c": 0.20163,
    "h": 337.5
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#9F1386
secondary
#45C95C
accent
#F55533
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1386

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

Preview Lab → · Contrast checker → · Palette generator →

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