#871A3D#871A3D

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

Color values

HEX#871A3D
RGBrgb(135, 26, 61)
HSLhsl(341, 68%, 32%)
HSVhsv(341, 81%, 53%)
CMYKcmyk(0%, 80.7%, 54.8%, 47.1%)
CIE-LABlab(29.98, 46.97, 7.53)
CIE-LCHlch(29.98, 47.57, 9.11°)
OKLaboklab(41.51% 0.1431 0.0193)
OKLCHoklch(41.51% 0.144 7.7)
XYZxyz(11.2044, 6.2282, 5.0261)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A3D #1A8764
analogous
#871A74 #871A3D #872E1A
triadic
#871A3D #3D871A #1A3D87
tetradic
#871A3D #74871A #1A8764 #2E1A87
square
#871A3D #74871A #1A8764 #2E1A87
split-complementary
#871A3D #1A872E #1A7487
monochromatic
#20060F #541026 #871A3D #BA2454 #DA4172

Accessibility & contrast

On white

9.35
#871A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A3D
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A3D#FFFFFF#000000##FFFFFF
##871A3D1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37393E
Deuteranopia (green-blind)
#534E3A
Tritanopia (blue-blind)
#940029
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871a3d;
/* rgb */ color: rgb(135, 26, 61);
/* oklch */ color: oklch(41.5% 0.144 7.7);
Tailwind
colors: {
  custom: {
    50: '#b06372',
    500: '#871a3d',
    950: '#000000',
  },
}
SCSS
$custom: #871a3d;
$custom-light: #b06372;
$custom-dark: #000000;
JSON
{
  "hex": "#871a3d",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 61
  },
  "hsl": {
    "h": 340.734,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41505,
    "c": 0.14442,
    "h": 7.7
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#871A3D
secondary
#42BA94
accent
#EBB33D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #871A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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