#871B3C#871B3C

#871B3C is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.143 H 8.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#871B3C
RGBrgb(135, 27, 60)
HSLhsl(342, 67%, 32%)
HSVhsv(342, 80%, 53%)
CMYKcmyk(0%, 80%, 55.6%, 47.1%)
CIE-LABlab(30.07, 46.57, 8.32)
CIE-LCHlch(30.07, 47.31, 10.13°)
OKLaboklab(41.56% 0.1417 0.0212)
OKLCHoklch(41.56% 0.143 8.5)
XYZxyz(11.2003, 6.2626, 4.8931)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B3C #1B8766
analogous
#871B72 #871B3C #87301B
triadic
#871B3C #3C871B #1B3C87
tetradic
#871B3C #72871B #1B8766 #301B87
square
#871B3C #72871B #1B8766 #301B87
split-complementary
#871B3C #1B8730 #1B7287
monochromatic
#21070F #541125 #871B3C #BA2553 #D94371

Accessibility & contrast

On white

9.32
#871B3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#871B3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B3C
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B3C#FFFFFF#000000##FFFFFF
##871B3C1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38393D
Deuteranopia (green-blind)
#544F39
Tritanopia (blue-blind)
#940029
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871b3c;
/* rgb */ color: rgb(135, 27, 60);
/* oklch */ color: oklch(41.6% 0.143 8.5);
Tailwind
colors: {
  custom: {
    50: '#b06371',
    500: '#871b3c',
    950: '#000000',
  },
}
SCSS
$custom: #871b3c;
$custom-light: #b06371;
$custom-dark: #000000;
JSON
{
  "hex": "#871b3c",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 60
  },
  "hsl": {
    "h": 341.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41559,
    "c": 0.14328,
    "h": 8.5
  },
  "luminance": 0.06261
}

Semantic roles & 50–950 ramp

primary
#871B3C
secondary
#44BA96
accent
#EAB53E
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #871B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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