#9F1A71#9F1A71

#9F1A71 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.184 H 346.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9F1A71
RGBrgb(159, 26, 113)
HSLhsl(321, 72%, 36%)
HSVhsv(321, 84%, 62%)
CMYKcmyk(0%, 83.6%, 28.9%, 37.6%)
CIE-LABlab(36.56, 58.69, -15.97)
CIE-LCHlch(36.56, 60.82, 344.78°)
OKLaboklab(47.76% 0.179 -0.0423)
OKLCHoklch(47.76% 0.184 346.7)
XYZxyz(17.6490, 9.3040, 16.4860)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A71 #1A9F48
analogous
#8B1A9F #9F1A71 #9F1A2F
triadic
#9F1A71 #719F1A #1A719F
tetradic
#9F1A71 #9F8B1A #1A9F48 #1A2F9F
square
#9F1A71 #9F8B1A #1A9F48 #1A2F9F
split-complementary
#9F1A71 #2F9F1A #1A9F8B
monochromatic
#360926 #6A114C #9F1A71 #D42396 #E351B0

Accessibility & contrast

On white

7.34
#9F1A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9F1A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A71
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A71#FFFFFF#000000##FFFFFF
##9F1A711.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304873
Deuteranopia (green-blind)
#585E6E
Tritanopia (blue-blind)
#AB1445
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1a71;
/* rgb */ color: rgb(159, 26, 113);
/* oklch */ color: oklch(47.8% 0.184 346.7);
Tailwind
colors: {
  custom: {
    50: '#c0689a',
    500: '#9f1a71',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a71;
$custom-light: #c0689a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a71",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 320.752,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4776,
    "c": 0.18392,
    "h": 346.7
  },
  "luminance": 0.09302
}

Semantic roles & 50–950 ramp

primary
#9F1A71
secondary
#50C578
accent
#EF7839
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1A71

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

Preview Lab → · Contrast checker → · Palette generator →

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