#871D2D#871D2D

#871D2D is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.4% C 0.140 H 18.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#871D2D
RGBrgb(135, 29, 45)
HSLhsl(351, 65%, 32%)
HSVhsv(351, 79%, 53%)
CMYKcmyk(0%, 78.5%, 66.7%, 47.1%)
CIE-LABlab(29.96, 44.85, 18.12)
CIE-LCHlch(29.96, 48.37, 22.00°)
OKLaboklab(41.37% 0.1334 0.0433)
OKLCHoklch(41.37% 0.14 18)
XYZxyz(10.9059, 6.2207, 3.1086)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D2D #1D8777
analogous
#871D62 #871D2D #87421D
triadic
#871D2D #2D871D #1D2D87
tetradic
#871D2D #62871D #1D8777 #421D87
square
#871D2D #62871D #1D8777 #421D87
split-complementary
#871D2D #1D8742 #1D6287
monochromatic
#22070B #55121C #871D2D #B9283E #D7475D

Accessibility & contrast

On white

9.36
#871D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D2D
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D2D#FFFFFF#000000##FFFFFF
##871D2D1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382D
Deuteranopia (green-blind)
#564F2A
Tritanopia (blue-blind)
#950024
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871d2d;
/* rgb */ color: rgb(135, 29, 45);
/* oklch */ color: oklch(41.4% 0.140 18.0);
Tailwind
colors: {
  custom: {
    50: '#b16365',
    500: '#871d2d',
    950: '#000000',
  },
}
SCSS
$custom: #871d2d;
$custom-light: #b16365;
$custom-dark: #000000;
JSON
{
  "hex": "#871d2d",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 45
  },
  "hsl": {
    "h": 350.943,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41374,
    "c": 0.14023,
    "h": 18
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#871D2D
secondary
#46B9A8
accent
#E8CE40
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #871D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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