#871C1A#871C1A

#871C1A is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.0% C 0.143 H 27.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#871C1A
RGBrgb(135, 28, 26)
HSLhsl(1, 68%, 32%)
HSVhsv(1, 81%, 53%)
CMYKcmyk(0%, 79.3%, 80.7%, 47.1%)
CIE-LABlab(29.56, 44.26, 29.68)
CIE-LCHlch(29.56, 53.29, 33.84°)
OKLaboklab(40.98% 0.1272 0.0648)
OKLCHoklch(40.98% 0.143 27)
XYZxyz(10.5947, 6.0577, 1.5885)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C1A #1A8587
analogous
#871A4F #871C1A #87531A
triadic
#871C1A #1A871C #1C1A87
tetradic
#871C1A #4F871A #1A8587 #531A87
square
#871C1A #4F871A #1A8587 #531A87
split-complementary
#871C1A #1A8753 #1A4F87
monochromatic
#200706 #541110 #871C1A #BA2724 #DA4441

Accessibility & contrast

On white

9.50
#871C1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#871C1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C1A
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C1A#FFFFFF#000000##FFFFFF
##871C1A1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871c1a;
/* rgb */ color: rgb(135, 28, 26);
/* oklch */ color: oklch(41.0% 0.143 27.0);
Tailwind
colors: {
  custom: {
    50: '#b26257',
    500: '#871c1a',
    950: '#000000',
  },
}
SCSS
$custom: #871c1a;
$custom-light: #b26257;
$custom-dark: #000000;
JSON
{
  "hex": "#871c1a",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 26
  },
  "hsl": {
    "h": 1.101,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40982,
    "c": 0.14272,
    "h": 27
  },
  "luminance": 0.06056
}

Semantic roles & 50–950 ramp

primary
#871C1A
secondary
#42B8BA
accent
#E7EB3D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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