#871D3F#871D3F

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

Color values

HEX#871D3F
RGBrgb(135, 29, 63)
HSLhsl(341, 65%, 32%)
HSVhsv(341, 79%, 53%)
CMYKcmyk(0%, 78.5%, 53.3%, 47.1%)
CIE-LABlab(30.38, 46.17, 6.76)
CIE-LCHlch(30.38, 46.66, 8.33°)
OKLaboklab(41.81% 0.1408 0.0175)
OKLCHoklch(41.81% 0.142 7.1)
XYZxyz(11.3293, 6.3901, 5.3385)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D3F #1D8765
analogous
#871D74 #871D3F #87301D
triadic
#871D3F #3F871D #1D3F87
tetradic
#871D3F #74871D #1D8765 #301D87
square
#871D3F #74871D #1D8765 #301D87
split-complementary
#871D3F #1D8730 #1D7487
monochromatic
#220710 #551227 #871D3F #B92857 #D74775

Accessibility & contrast

On white

9.22
#871D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#871D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D3F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D3F#FFFFFF#000000##FFFFFF
##871D3F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A40
Deuteranopia (green-blind)
#544F3C
Tritanopia (blue-blind)
#94002C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871d3f;
/* rgb */ color: rgb(135, 29, 63);
/* oklch */ color: oklch(41.8% 0.142 7.1);
Tailwind
colors: {
  custom: {
    50: '#b06473',
    500: '#871d3f',
    950: '#000000',
  },
}
SCSS
$custom: #871d3f;
$custom-light: #b06473;
$custom-dark: #000000;
JSON
{
  "hex": "#871d3f",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 63
  },
  "hsl": {
    "h": 340.755,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41814,
    "c": 0.14188,
    "h": 7.1
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#871D3F
secondary
#46B995
accent
#E8B240
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110608
muted
#807A7B

Preview Lab

Preview with #871D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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