#871F1D#871F1D

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

Color values

HEX#871F1D
RGBrgb(135, 31, 29)
HSLhsl(1, 65%, 32%)
HSVhsv(1, 79%, 53%)
CMYKcmyk(0%, 77%, 78.5%, 47.1%)
CIE-LABlab(29.96, 43.34, 28.31)
CIE-LCHlch(29.96, 51.77, 33.15°)
OKLaboklab(41.3% 0.1249 0.0628)
OKLCHoklch(41.3% 0.14 26.7)
XYZxyz(10.7047, 6.2212, 1.7993)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F1D #1D8587
analogous
#871D50 #871F1D #87541D
triadic
#871F1D #1D871F #1F1D87
tetradic
#871F1D #50871D #1D8587 #541D87
square
#871F1D #50871D #1D8587 #541D87
split-complementary
#871F1D #1D8754 #1D5087
monochromatic
#220807 #551312 #871F1D #B92B28 #D74A47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871F1D#FFFFFF#000000##FFFFFF
##871F1D1.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)
#3E381C
Deuteranopia (green-blind)
#584F19
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871f1d;
/* rgb */ color: rgb(135, 31, 29);
/* oklch */ color: oklch(41.3% 0.140 26.7);
Tailwind
colors: {
  custom: {
    50: '#b26459',
    500: '#871f1d',
    950: '#000000',
  },
}
SCSS
$custom: #871f1d;
$custom-light: #b26459;
$custom-dark: #000000;
JSON
{
  "hex": "#871f1d",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 29
  },
  "hsl": {
    "h": 1.132,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41295,
    "c": 0.13979,
    "h": 26.7
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#871F1D
secondary
#46B7B9
accent
#E4E840
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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