#871B64#871B64

#871B64 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.160 H 344.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#871B64
RGBrgb(135, 27, 100)
HSLhsl(319, 67%, 32%)
HSVhsv(319, 80%, 53%)
CMYKcmyk(0%, 80%, 25.9%, 47.1%)
CIE-LABlab(31.48, 50.87, -15.89)
CIE-LCHlch(31.48, 53.29, 342.66°)
OKLaboklab(43.05% 0.1541 -0.0423)
OKLCHoklch(43.05% 0.16 344.6)
XYZxyz(12.6844, 6.8563, 12.7095)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B64 #1B873E
analogous
#741B87 #871B64 #871B2E
triadic
#871B64 #64871B #1B6487
tetradic
#871B64 #87741B #1B873E #1B2E87
square
#871B64 #87741B #1B873E #1B2E87
split-complementary
#871B64 #2E871B #1B8774
monochromatic
#210718 #54113E #871B64 #BA258A #D943A9

Accessibility & contrast

On white

8.86
#871B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#871B64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B64
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B64#FFFFFF#000000##FFFFFF
##871B641.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293F66
Deuteranopia (green-blind)
#4A5162
Tritanopia (blue-blind)
#90193E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871b64;
/* rgb */ color: rgb(135, 27, 100);
/* oklch */ color: oklch(43.1% 0.160 344.6);
Tailwind
colors: {
  custom: {
    50: '#ae6490',
    500: '#871b64',
    950: '#000000',
  },
}
SCSS
$custom: #871b64;
$custom-light: #ae6490;
$custom-dark: #000000;
JSON
{
  "hex": "#871b64",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 100
  },
  "hsl": {
    "h": 319.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43052,
    "c": 0.15984,
    "h": 344.6
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#871B64
secondary
#44BA6A
accent
#EA763E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871B64

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

Preview Lab → · Contrast checker → · Palette generator →

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