#871B5C#871B5C

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

Color values

HEX#871B5C
RGBrgb(135, 27, 92)
HSLhsl(324, 67%, 32%)
HSVhsv(324, 80%, 53%)
CMYKcmyk(0%, 80%, 31.9%, 47.1%)
CIE-LABlab(31.13, 49.85, -11.23)
CIE-LCHlch(31.13, 51.10, 347.31°)
OKLaboklab(42.69% 0.1524 -0.0294)
OKLCHoklch(42.69% 0.155 349.1)
XYZxyz(12.3160, 6.7089, 10.7695)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B5C #1B8746
analogous
#7C1B87 #871B5C #871B26
triadic
#871B5C #5C871B #1B5C87
tetradic
#871B5C #877C1B #1B8746 #1B2687
square
#871B5C #877C1B #1B8746 #1B2687
split-complementary
#871B5C #26871B #1B877C
monochromatic
#210716 #541139 #871B5C #BA257F #D9439E

Accessibility & contrast

On white

8.97
#871B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#871B5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B5C
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B5C#FFFFFF#000000##FFFFFF
##871B5C1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5E
Deuteranopia (green-blind)
#4D505A
Tritanopia (blue-blind)
#911439
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871b5c;
/* rgb */ color: rgb(135, 27, 92);
/* oklch */ color: oklch(42.7% 0.155 349.1);
Tailwind
colors: {
  custom: {
    50: '#ae648a',
    500: '#871b5c',
    950: '#000000',
  },
}
SCSS
$custom: #871b5c;
$custom-light: #ae648a;
$custom-dark: #000000;
JSON
{
  "hex": "#871b5c",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 92
  },
  "hsl": {
    "h": 323.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42691,
    "c": 0.1552,
    "h": 349.1
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#871B5C
secondary
#44BA73
accent
#EA823E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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