#871B3E#871B3E

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

Color values

HEX#871B3E
RGBrgb(135, 27, 62)
HSLhsl(341, 67%, 32%)
HSVhsv(341, 80%, 53%)
CMYKcmyk(0%, 80%, 54.1%, 47.1%)
CIE-LABlab(30.12, 46.74, 7.06)
CIE-LCHlch(30.12, 47.27, 8.59°)
OKLaboklab(41.62% 0.1425 0.0182)
OKLCHoklch(41.62% 0.144 7.3)
XYZxyz(11.2541, 6.2842, 5.1768)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B3E #1B8764
analogous
#871B74 #871B3E #872E1B
triadic
#871B3E #3E871B #1B3E87
tetradic
#871B3E #74871B #1B8764 #2E1B87
square
#871B3E #74871B #1B8764 #2E1B87
split-complementary
#871B3E #1B872E #1B7487
monochromatic
#21070F #541127 #871B3E #BA2555 #D94374

Accessibility & contrast

On white

9.31
#871B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#871B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B3E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B3E#FFFFFF#000000##FFFFFF
##871B3E1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37393F
Deuteranopia (green-blind)
#534F3B
Tritanopia (blue-blind)
#94002A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871b3e;
/* rgb */ color: rgb(135, 27, 62);
/* oklch */ color: oklch(41.6% 0.144 7.3);
Tailwind
colors: {
  custom: {
    50: '#b06373',
    500: '#871b3e',
    950: '#000000',
  },
}
SCSS
$custom: #871b3e;
$custom-light: #b06373;
$custom-dark: #000000;
JSON
{
  "hex": "#871b3e",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 62
  },
  "hsl": {
    "h": 340.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41615,
    "c": 0.14367,
    "h": 7.3
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#871B3E
secondary
#44BA94
accent
#EAB23E
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110608
muted
#807A7B

Preview Lab

Preview with #871B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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