#8F1571#8F1571

#8F1571 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.178 H 340.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#8F1571
RGBrgb(143, 21, 113)
HSLhsl(315, 74%, 32%)
HSVhsv(315, 85%, 56%)
CMYKcmyk(0%, 85.3%, 21%, 43.9%)
CIE-LABlab(33.07, 56.13, -21.62)
CIE-LCHlch(33.07, 60.15, 338.93°)
OKLaboklab(44.68% 0.1685 -0.0583)
OKLCHoklch(44.68% 0.178 340.9)
XYZxyz(14.5770, 7.5698, 16.3130)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1571 #158F33
analogous
#70158F #8F1571 #8F1534
triadic
#8F1571 #718F15 #15718F
tetradic
#8F1571 #8F7015 #158F33 #15348F
square
#8F1571 #8F7015 #158F33 #15348F
split-complementary
#8F1571 #348F15 #158F70
monochromatic
#24051D #5A0D47 #8F1571 #C41D9B #E23CB9

Accessibility & contrast

On white

8.35
#8F1571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8F1571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1571
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1571#FFFFFF#000000##FFFFFF
##8F15711.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224273
Deuteranopia (green-blind)
#4B556E
Tritanopia (blue-blind)
#981943
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f1571;
/* rgb */ color: rgb(143, 21, 113);
/* oklch */ color: oklch(44.7% 0.178 340.9);
Tailwind
colors: {
  custom: {
    50: '#b4649a',
    500: '#8f1571',
    950: '#000000',
  },
}
SCSS
$custom: #8f1571;
$custom-light: #b4649a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1571",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 314.754,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44681,
    "c": 0.17829,
    "h": 340.9
  },
  "luminance": 0.07568
}

Semantic roles & 50–950 ramp

primary
#8F1571
secondary
#3EC25E
accent
#F16537
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1571

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

Preview Lab → · Contrast checker → · Palette generator →

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