#8F1771#8F1771

#8F1771 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.8% C 0.177 H 341.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#8F1771
RGBrgb(143, 23, 113)
HSLhsl(315, 72%, 33%)
HSVhsv(315, 84%, 56%)
CMYKcmyk(0%, 83.9%, 21%, 43.9%)
CIE-LABlab(33.23, 55.65, -21.36)
CIE-LCHlch(33.23, 59.61, 339.00°)
OKLaboklab(44.8% 0.167 -0.0576)
OKLCHoklch(44.8% 0.177 341)
XYZxyz(14.6152, 7.6462, 16.3258)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1771 #178F35
analogous
#71178F #8F1771 #8F1735
triadic
#8F1771 #718F17 #17718F
tetradic
#8F1771 #8F7117 #178F35 #17358F
square
#8F1771 #8F7117 #178F35 #17358F
split-complementary
#8F1771 #358F17 #178F71
monochromatic
#26061E #5A0F47 #8F1771 #C41F9B #E040B8

Accessibility & contrast

On white

8.30
#8F1771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8F1771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1771
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1771#FFFFFF#000000##FFFFFF
##8F17711.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#4B556E
Tritanopia (blue-blind)
#981B44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f1771;
/* rgb */ color: rgb(143, 23, 113);
/* oklch */ color: oklch(44.8% 0.177 341.0);
Tailwind
colors: {
  custom: {
    50: '#b4659a',
    500: '#8f1771',
    950: '#000000',
  },
}
SCSS
$custom: #8f1771;
$custom-light: #b4659a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1771",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 315,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.448,
    "c": 0.17669,
    "h": 341
  },
  "luminance": 0.07645
}

Semantic roles & 50–950 ramp

primary
#8F1771
secondary
#41C161
accent
#EF6639
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1771

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

Preview Lab → · Contrast checker → · Palette generator →

#8F1771 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva