#8F1871#8F1871

#8F1871 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.9% C 0.176 H 341.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8F1871
RGBrgb(143, 24, 113)
HSLhsl(315, 71%, 33%)
HSVhsv(315, 83%, 56%)
CMYKcmyk(0%, 83.2%, 21%, 43.9%)
CIE-LABlab(33.32, 55.40, -21.23)
CIE-LCHlch(33.32, 59.33, 339.03°)
OKLaboklab(44.86% 0.1663 -0.0573)
OKLCHoklch(44.86% 0.176 341)
XYZxyz(14.6355, 7.6867, 16.3325)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1871 #188F36
analogous
#71188F #8F1871 #8F1836
triadic
#8F1871 #718F18 #18718F
tetradic
#8F1871 #8F7118 #188F36 #18368F
square
#8F1871 #8F7118 #188F36 #18368F
split-complementary
#8F1871 #368F18 #188F71
monochromatic
#26061E #5B0F48 #8F1871 #C3219A #DF42B8

Accessibility & contrast

On white

8.28
#8F1871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8F1871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1871
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1871#FFFFFF#000000##FFFFFF
##8F18711.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f1871;
/* rgb */ color: rgb(143, 24, 113);
/* oklch */ color: oklch(44.9% 0.176 341.0);
Tailwind
colors: {
  custom: {
    50: '#b4659a',
    500: '#8f1871',
    950: '#000000',
  },
}
SCSS
$custom: #8f1871;
$custom-light: #b4659a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1871",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 315.126,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44862,
    "c": 0.17583,
    "h": 341
  },
  "luminance": 0.07685
}

Semantic roles & 50–950 ramp

primary
#8F1871
secondary
#43C062
accent
#EE673A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1871

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

Preview Lab → · Contrast checker → · Palette generator →

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