#871D3A#871D3A

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

Color values

HEX#871D3A
RGBrgb(135, 29, 58)
HSLhsl(344, 65%, 32%)
HSVhsv(344, 79%, 53%)
CMYKcmyk(0%, 78.5%, 57%, 47.1%)
CIE-LABlab(30.25, 45.76, 9.90)
CIE-LCHlch(30.25, 46.82, 12.21°)
OKLaboklab(41.68% 0.1388 0.025)
OKLCHoklch(41.68% 0.141 10.2)
XYZxyz(11.1958, 6.3367, 4.6357)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D3A #1D876A
analogous
#871D6F #871D3A #87351D
triadic
#871D3A #3A871D #1D3A87
tetradic
#871D3A #6F871D #1D876A #351D87
square
#871D3A #6F871D #1D876A #351D87
split-complementary
#871D3A #1D8735 #1D6F87
monochromatic
#22070F #551224 #871D3A #B92850 #D7476E

Accessibility & contrast

On white

9.26
#871D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D3A
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D3A#FFFFFF#000000##FFFFFF
##871D3A1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39393A
Deuteranopia (green-blind)
#554F37
Tritanopia (blue-blind)
#940029
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871d3a;
/* rgb */ color: rgb(135, 29, 58);
/* oklch */ color: oklch(41.7% 0.141 10.2);
Tailwind
colors: {
  custom: {
    50: '#b0646f',
    500: '#871d3a',
    950: '#000000',
  },
}
SCSS
$custom: #871d3a;
$custom-light: #b0646f;
$custom-dark: #000000;
JSON
{
  "hex": "#871d3a",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 58
  },
  "hsl": {
    "h": 343.585,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41676,
    "c": 0.14102,
    "h": 10.2
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#871D3A
secondary
#46B99A
accent
#E8BA40
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #871D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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