#871B5E#871B5E

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

Color values

HEX#871B5E
RGBrgb(135, 27, 94)
HSLhsl(323, 67%, 32%)
HSVhsv(323, 80%, 53%)
CMYKcmyk(0%, 80%, 30.4%, 47.1%)
CIE-LABlab(31.22, 50.10, -12.40)
CIE-LCHlch(31.22, 51.61, 346.10°)
OKLaboklab(42.78% 0.1529 -0.0327)
OKLCHoklch(42.78% 0.156 347.9)
XYZxyz(12.4046, 6.7443, 11.2360)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B5E #1B8744
analogous
#7A1B87 #871B5E #871B28
triadic
#871B5E #5E871B #1B5E87
tetradic
#871B5E #877A1B #1B8744 #1B2887
square
#871B5E #877A1B #1B8744 #1B2887
split-complementary
#871B5E #28871B #1B877A
monochromatic
#210717 #54113A #871B5E #BA2582 #D943A0

Accessibility & contrast

On white

8.94
#871B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B5E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B5E#FFFFFF#000000##FFFFFF
##871B5E1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871b5e;
/* rgb */ color: rgb(135, 27, 94);
/* oklch */ color: oklch(42.8% 0.156 347.9);
Tailwind
colors: {
  custom: {
    50: '#ae648b',
    500: '#871b5e',
    950: '#000000',
  },
}
SCSS
$custom: #871b5e;
$custom-light: #ae648b;
$custom-dark: #000000;
JSON
{
  "hex": "#871b5e",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 94
  },
  "hsl": {
    "h": 322.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42779,
    "c": 0.15631,
    "h": 347.9
  },
  "luminance": 0.06743
}

Semantic roles & 50–950 ramp

primary
#871B5E
secondary
#44BA71
accent
#EA7F3E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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