#871F3A#871F3A

#871F3A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.139 H 10.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#871F3A
RGBrgb(135, 31, 58)
HSLhsl(344, 63%, 33%)
HSVhsv(344, 77%, 53%)
CMYKcmyk(0%, 77%, 57%, 47.1%)
CIE-LABlab(30.49, 45.07, 10.24)
CIE-LCHlch(30.49, 46.22, 12.80°)
OKLaboklab(41.86% 0.1366 0.0258)
OKLCHoklch(41.86% 0.139 10.7)
XYZxyz(11.2465, 6.4380, 4.6526)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F3A #1F876C
analogous
#871F6E #871F3A #87381F
triadic
#871F3A #3A871F #1F3A87
tetradic
#871F3A #6E871F #1F876C #381F87
square
#871F3A #6E871F #1F876C #381F87
split-complementary
#871F3A #1F8738 #1F6E87
monochromatic
#23080F #551425 #871F3A #B92A4F #D64B6F

Accessibility & contrast

On white

9.18
#871F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#871F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F3A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F3A#FFFFFF#000000##FFFFFF
##871F3A1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A3A
Deuteranopia (green-blind)
#554F37
Tritanopia (blue-blind)
#94002A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871f3a;
/* rgb */ color: rgb(135, 31, 58);
/* oklch */ color: oklch(41.9% 0.139 10.7);
Tailwind
colors: {
  custom: {
    50: '#b0646f',
    500: '#871f3a',
    950: '#000000',
  },
}
SCSS
$custom: #871f3a;
$custom-light: #b0646f;
$custom-dark: #000000;
JSON
{
  "hex": "#871f3a",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 58
  },
  "hsl": {
    "h": 344.423,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41857,
    "c": 0.13899,
    "h": 10.7
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#871F3A
secondary
#4AB89B
accent
#E6BB42
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #871F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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