#871A3C#871A3C

#871A3C is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.144 H 8.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#871A3C
RGBrgb(135, 26, 60)
HSLhsl(341, 68%, 32%)
HSVhsv(341, 81%, 53%)
CMYKcmyk(0%, 80.7%, 55.6%, 47.1%)
CIE-LABlab(29.95, 46.89, 8.16)
CIE-LCHlch(29.95, 47.59, 9.88°)
OKLaboklab(41.48% 0.1427 0.0208)
OKLCHoklch(41.48% 0.144 8.3)
XYZxyz(11.1777, 6.2175, 4.8856)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A3C #1A8765
analogous
#871A73 #871A3C #872E1A
triadic
#871A3C #3C871A #1A3C87
tetradic
#871A3C #73871A #1A8765 #2E1A87
square
#871A3C #73871A #1A8765 #2E1A87
split-complementary
#871A3C #1A872E #1A7387
monochromatic
#20060E #541025 #871A3C #BA2453 #DA4171

Accessibility & contrast

On white

9.36
#871A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A3C
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A3C#FFFFFF#000000##FFFFFF
##871A3C1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871a3c;
/* rgb */ color: rgb(135, 26, 60);
/* oklch */ color: oklch(41.5% 0.144 8.3);
Tailwind
colors: {
  custom: {
    50: '#b06371',
    500: '#871a3c',
    950: '#000000',
  },
}
SCSS
$custom: #871a3c;
$custom-light: #b06371;
$custom-dark: #000000;
JSON
{
  "hex": "#871a3c",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 60
  },
  "hsl": {
    "h": 341.284,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41477,
    "c": 0.14423,
    "h": 8.3
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

primary
#871A3C
secondary
#42BA95
accent
#EBB53D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #871A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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