#871D2F#871D2F

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

Color values

HEX#871D2F
RGBrgb(135, 29, 47)
HSLhsl(350, 65%, 32%)
HSVhsv(350, 79%, 53%)
CMYKcmyk(0%, 78.5%, 65.2%, 47.1%)
CIE-LABlab(30.00, 44.98, 16.85)
CIE-LCHlch(30.00, 48.03, 20.54°)
OKLaboklab(41.42% 0.1342 0.0406)
OKLCHoklch(41.42% 0.14 16.8)
XYZxyz(10.9453, 6.2365, 3.3162)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D2F #1D8775
analogous
#871D64 #871D2F #87401D
triadic
#871D2F #2F871D #1D2F87
tetradic
#871D2F #64871D #1D8775 #401D87
square
#871D2F #64871D #1D8775 #401D87
split-complementary
#871D2F #1D8740 #1D6487
monochromatic
#22070C #55121D #871D2F #B92841 #D7475F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871D2F#FFFFFF#000000##FFFFFF
##871D2F1.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)
#3B382F
Deuteranopia (green-blind)
#564F2C
Tritanopia (blue-blind)
#940025
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871d2f;
/* rgb */ color: rgb(135, 29, 47);
/* oklch */ color: oklch(41.4% 0.140 16.8);
Tailwind
colors: {
  custom: {
    50: '#b16367',
    500: '#871d2f',
    950: '#000000',
  },
}
SCSS
$custom: #871d2f;
$custom-light: #b16367;
$custom-dark: #000000;
JSON
{
  "hex": "#871d2f",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 47
  },
  "hsl": {
    "h": 349.811,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41415,
    "c": 0.14022,
    "h": 16.8
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#871D2F
secondary
#46B9A6
accent
#E8CB40
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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