#871D3C#871D3C

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

Color values

HEX#871D3C
RGBrgb(135, 29, 60)
HSLhsl(342, 65%, 32%)
HSVhsv(342, 79%, 53%)
CMYKcmyk(0%, 78.5%, 55.6%, 47.1%)
CIE-LABlab(30.30, 45.92, 8.64)
CIE-LCHlch(30.30, 46.73, 10.66°)
OKLaboklab(41.73% 0.1396 0.022)
OKLCHoklch(41.73% 0.141 9)
XYZxyz(11.2477, 6.3575, 4.9089)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D3C #1D8768
analogous
#871D71 #871D3C #87331D
triadic
#871D3C #3C871D #1D3C87
tetradic
#871D3C #71871D #1D8768 #331D87
square
#871D3C #71871D #1D8768 #331D87
split-complementary
#871D3C #1D8733 #1D7187
monochromatic
#22070F #551226 #871D3C #B92852 #D74771

Accessibility & contrast

On white

9.25
#871D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D3C
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D3C#FFFFFF#000000##FFFFFF
##871D3C1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393A3D
Deuteranopia (green-blind)
#544F39
Tritanopia (blue-blind)
#94002A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871d3c;
/* rgb */ color: rgb(135, 29, 60);
/* oklch */ color: oklch(41.7% 0.141 9.0);
Tailwind
colors: {
  custom: {
    50: '#b06471',
    500: '#871d3c',
    950: '#000000',
  },
}
SCSS
$custom: #871d3c;
$custom-light: #b06471;
$custom-dark: #000000;
JSON
{
  "hex": "#871d3c",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 60
  },
  "hsl": {
    "h": 342.453,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4173,
    "c": 0.14132,
    "h": 9
  },
  "luminance": 0.06356
}

Semantic roles & 50–950 ramp

primary
#871D3C
secondary
#46B998
accent
#E8B740
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #871D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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