#871B5D#871B5D

#871B5D is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.156 H 348.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#871B5D
RGBrgb(135, 27, 93)
HSLhsl(323, 67%, 32%)
HSVhsv(323, 80%, 53%)
CMYKcmyk(0%, 80%, 31.1%, 47.1%)
CIE-LABlab(31.18, 49.97, -11.81)
CIE-LCHlch(31.18, 51.35, 346.70°)
OKLaboklab(42.74% 0.1526 -0.031)
OKLCHoklch(42.74% 0.156 348.5)
XYZxyz(12.3600, 6.7265, 11.0013)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B5D #1B8745
analogous
#7B1B87 #871B5D #871B27
triadic
#871B5D #5D871B #1B5D87
tetradic
#871B5D #877B1B #1B8745 #1B2787
square
#871B5D #877B1B #1B8745 #1B2787
split-complementary
#871B5D #27871B #1B877B
monochromatic
#210717 #54113A #871B5D #BA2580 #D9439F

Accessibility & contrast

On white

8.96
#871B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#871B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B5D
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B5D#FFFFFF#000000##FFFFFF
##871B5D1.008.962.358.96
#FFFFFF8.961.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5F
Deuteranopia (green-blind)
#4D505B
Tritanopia (blue-blind)
#91153A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871b5d;
/* rgb */ color: rgb(135, 27, 93);
/* oklch */ color: oklch(42.7% 0.156 348.5);
Tailwind
colors: {
  custom: {
    50: '#ae648b',
    500: '#871b5d',
    950: '#000000',
  },
}
SCSS
$custom: #871b5d;
$custom-light: #ae648b;
$custom-dark: #000000;
JSON
{
  "hex": "#871b5d",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 323.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42735,
    "c": 0.15575,
    "h": 348.5
  },
  "luminance": 0.06725
}

Semantic roles & 50–950 ramp

primary
#871B5D
secondary
#44BA72
accent
#EA813E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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