#871A3E#871A3E

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

Color values

HEX#871A3E
RGBrgb(135, 26, 62)
HSLhsl(340, 68%, 32%)
HSVhsv(340, 81%, 53%)
CMYKcmyk(0%, 80.7%, 54.1%, 47.1%)
CIE-LABlab(30.01, 47.05, 6.90)
CIE-LCHlch(30.01, 47.55, 8.35°)
OKLaboklab(41.53% 0.1435 0.0178)
OKLCHoklch(41.53% 0.145 7.1)
XYZxyz(11.2316, 6.2391, 5.1693)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A3E #1A8763
analogous
#871A75 #871A3E #872C1A
triadic
#871A3E #3E871A #1A3E87
tetradic
#871A3E #75871A #1A8763 #2C1A87
square
#871A3E #75871A #1A8763 #2C1A87
split-complementary
#871A3E #1A872C #1A7587
monochromatic
#20060F #541026 #871A3E #BA2456 #DA4174

Accessibility & contrast

On white

9.34
#871A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A3E
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A3E#FFFFFF#000000##FFFFFF
##871A3E1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871a3e;
/* rgb */ color: rgb(135, 26, 62);
/* oklch */ color: oklch(41.5% 0.145 7.1);
Tailwind
colors: {
  custom: {
    50: '#b06373',
    500: '#871a3e',
    950: '#000000',
  },
}
SCSS
$custom: #871a3e;
$custom-light: #b06373;
$custom-dark: #000000;
JSON
{
  "hex": "#871a3e",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 62
  },
  "hsl": {
    "h": 340.183,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41534,
    "c": 0.14461,
    "h": 7.1
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

primary
#871A3E
secondary
#42BA93
accent
#EBB13D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #871A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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