#9F1A87#9F1A87

#9F1A87 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.8% C 0.197 H 337.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9F1A87
RGBrgb(159, 26, 135)
HSLhsl(311, 72%, 36%)
HSVhsv(311, 84%, 62%)
CMYKcmyk(0%, 83.6%, 15.1%, 37.6%)
CIE-LABlab(37.59, 61.57, -28.11)
CIE-LCHlch(37.59, 67.68, 335.46°)
OKLaboklab(48.84% 0.1819 -0.0766)
OKLCHoklch(48.84% 0.197 337.2)
XYZxyz(19.0411, 9.8609, 23.8175)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A87 #1A9F32
analogous
#751A9F #9F1A87 #9F1A45
triadic
#9F1A87 #879F1A #1A879F
tetradic
#9F1A87 #9F751A #1A9F32 #1A459F
square
#9F1A87 #9F751A #1A9F32 #1A459F
split-complementary
#9F1A87 #459F1A #1A9F75
monochromatic
#36092E #6A115A #9F1A87 #D423B4 #E351C8

Accessibility & contrast

On white

7.07
#9F1A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9F1A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A87
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A87#FFFFFF#000000##FFFFFF
##9F1A871.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4C8A
Deuteranopia (green-blind)
#505F84
Tritanopia (blue-blind)
#A82551
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1a87;
/* rgb */ color: rgb(159, 26, 135);
/* oklch */ color: oklch(48.8% 0.197 337.2);
Tailwind
colors: {
  custom: {
    50: '#bf69aa',
    500: '#9f1a87',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a87;
$custom-light: #bf69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a87",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 310.827,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48835,
    "c": 0.19739,
    "h": 337.2
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#9F1A87
secondary
#50C565
accent
#EF5A39
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1A87

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

Preview Lab → · Contrast checker → · Palette generator →

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