#871D3D#871D3D

#871D3D is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.141 H 8.3°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#871D3D
RGBrgb(135, 29, 61)
HSLhsl(342, 65%, 32%)
HSVhsv(342, 79%, 53%)
CMYKcmyk(0%, 78.5%, 54.8%, 47.1%)
CIE-LABlab(30.32, 46.00, 8.01)
CIE-LCHlch(30.32, 46.70, 9.88°)
OKLaboklab(41.76% 0.14 0.0205)
OKLCHoklch(41.76% 0.141 8.3)
XYZxyz(11.2744, 6.3681, 5.0495)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D3D #1D8767
analogous
#871D72 #871D3D #87321D
triadic
#871D3D #3D871D #1D3D87
tetradic
#871D3D #72871D #1D8767 #321D87
square
#871D3D #72871D #1D8767 #321D87
split-complementary
#871D3D #1D8732 #1D7287
monochromatic
#22070F #551226 #871D3D #B92854 #D74773

Accessibility & contrast

On white

9.24
#871D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#871D3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D3D
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D3D#FFFFFF#000000##FFFFFF
##871D3D1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393A3E
Deuteranopia (green-blind)
#544F3A
Tritanopia (blue-blind)
#94002B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871d3d;
/* rgb */ color: rgb(135, 29, 61);
/* oklch */ color: oklch(41.8% 0.141 8.3);
Tailwind
colors: {
  custom: {
    50: '#b06472',
    500: '#871d3d',
    950: '#000000',
  },
}
SCSS
$custom: #871d3d;
$custom-light: #b06472;
$custom-dark: #000000;
JSON
{
  "hex": "#871d3d",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 61
  },
  "hsl": {
    "h": 341.887,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41757,
    "c": 0.14149,
    "h": 8.3
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

primary
#871D3D
secondary
#46B997
accent
#E8B540
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #871D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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