#871A3B#871A3B

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

Color values

HEX#871A3B
RGBrgb(135, 26, 59)
HSLhsl(342, 68%, 32%)
HSVhsv(342, 81%, 53%)
CMYKcmyk(0%, 80.7%, 56.3%, 47.1%)
CIE-LABlab(29.93, 46.81, 8.79)
CIE-LCHlch(29.93, 47.63, 10.64°)
OKLaboklab(41.45% 0.1423 0.0223)
OKLCHoklch(41.45% 0.144 8.9)
XYZxyz(11.1516, 6.2071, 4.7477)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A3B #1A8766
analogous
#871A72 #871A3B #87301A
triadic
#871A3B #3B871A #1A3B87
tetradic
#871A3B #72871A #1A8766 #301A87
square
#871A3B #72871A #1A8766 #301A87
split-complementary
#871A3B #1A8730 #1A7287
monochromatic
#20060E #541025 #871A3B #BA2451 #DA416F

Accessibility & contrast

On white

9.37
#871A3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A3B
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A3B#FFFFFF#000000##FFFFFF
##871A3B1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37383C
Deuteranopia (green-blind)
#544E38
Tritanopia (blue-blind)
#940028
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871a3b;
/* rgb */ color: rgb(135, 26, 59);
/* oklch */ color: oklch(41.4% 0.144 8.9);
Tailwind
colors: {
  custom: {
    50: '#b06370',
    500: '#871a3b',
    950: '#000000',
  },
}
SCSS
$custom: #871a3b;
$custom-light: #b06370;
$custom-dark: #000000;
JSON
{
  "hex": "#871a3b",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 59
  },
  "hsl": {
    "h": 341.835,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4145,
    "c": 0.14405,
    "h": 8.9
  },
  "luminance": 0.06205
}

Semantic roles & 50–950 ramp

primary
#871A3B
secondary
#42BA96
accent
#EBB63D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #871A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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