#871D1A#871D1A

#871D1A is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.142 H 27.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#871D1A
RGBrgb(135, 29, 26)
HSLhsl(2, 68%, 32%)
HSVhsv(2, 81%, 53%)
CMYKcmyk(0%, 78.5%, 80.7%, 47.1%)
CIE-LABlab(29.68, 43.93, 29.80)
CIE-LCHlch(29.68, 53.08, 34.16°)
OKLaboklab(41.07% 0.1261 0.0651)
OKLCHoklch(41.07% 0.142 27.3)
XYZxyz(10.6188, 6.1059, 1.5965)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D1A #1A8487
analogous
#871A4E #871D1A #87541A
triadic
#871D1A #1A871D #1D1A87
tetradic
#871D1A #4E871A #1A8487 #541A87
square
#871D1A #4E871A #1A8487 #541A87
split-complementary
#871D1A #1A8754 #1A4E87
monochromatic
#200706 #541210 #871D1A #BA2824 #DA4541

Accessibility & contrast

On white

9.46
#871D1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#871D1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D1A
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D1A#FFFFFF#000000##FFFFFF
##871D1A1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3718
Deuteranopia (green-blind)
#584E15
Tritanopia (blue-blind)
#95001E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871d1a;
/* rgb */ color: rgb(135, 29, 26);
/* oklch */ color: oklch(41.1% 0.142 27.3);
Tailwind
colors: {
  custom: {
    50: '#b26357',
    500: '#871d1a',
    950: '#000000',
  },
}
SCSS
$custom: #871d1a;
$custom-light: #b26357;
$custom-dark: #000000;
JSON
{
  "hex": "#871d1a",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 26
  },
  "hsl": {
    "h": 1.651,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41071,
    "c": 0.1419,
    "h": 27.3
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#871D1A
secondary
#42B7BA
accent
#E6EB3D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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