#871F5F#871F5F

#871F5F is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.153 H 347.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#871F5F
RGBrgb(135, 31, 95)
HSLhsl(323, 63%, 33%)
HSVhsv(323, 77%, 53%)
CMYKcmyk(0%, 77%, 29.6%, 47.1%)
CIE-LABlab(31.71, 48.94, -12.29)
CIE-LCHlch(31.71, 50.46, 345.90°)
OKLaboklab(43.15% 0.1491 -0.0324)
OKLCHoklch(43.15% 0.153 347.7)
XYZxyz(12.5478, 6.9585, 11.5066)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F5F #1F8747
analogous
#7B1F87 #871F5F #871F2B
triadic
#871F5F #5F871F #1F5F87
tetradic
#871F5F #877B1F #1F8747 #1F2B87
square
#871F5F #877B1F #1F8747 #1F2B87
split-complementary
#871F5F #2B871F #1F877B
monochromatic
#230819 #55143C #871F5F #B92A82 #D64BA0

Accessibility & contrast

On white

8.78
#871F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#871F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F5F
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F5F#FFFFFF#000000##FFFFFF
##871F5F1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F61
Deuteranopia (green-blind)
#4D515D
Tritanopia (blue-blind)
#911B3C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871f5f;
/* rgb */ color: rgb(135, 31, 95);
/* oklch */ color: oklch(43.2% 0.153 347.7);
Tailwind
colors: {
  custom: {
    50: '#ae668c',
    500: '#871f5f',
    950: '#000000',
  },
}
SCSS
$custom: #871f5f;
$custom-light: #ae668c;
$custom-dark: #000000;
JSON
{
  "hex": "#871f5f",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 323.077,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43152,
    "c": 0.15256,
    "h": 347.7
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

primary
#871F5F
secondary
#4AB874
accent
#E68142
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871F5F

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

Preview Lab → · Contrast checker → · Palette generator →

#871F5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva