#871E1C#871E1C

#871E1C is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.2% C 0.141 H 26.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#871E1C
RGBrgb(135, 30, 28)
HSLhsl(1, 66%, 32%)
HSVhsv(1, 79%, 53%)
CMYKcmyk(0%, 77.8%, 79.3%, 47.1%)
CIE-LABlab(29.82, 43.66, 28.76)
CIE-LCHlch(29.82, 52.28, 33.38°)
OKLaboklab(41.19% 0.1257 0.0635)
OKLCHoklch(41.19% 0.141 26.8)
XYZxyz(10.6668, 6.1650, 1.7267)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E1C #1C8587
analogous
#871C50 #871E1C #87531C
triadic
#871E1C #1C871E #1E1C87
tetradic
#871E1C #50871C #1C8587 #531C87
square
#871E1C #50871C #1C8587 #531C87
split-complementary
#871E1C #1C8753 #1C5087
monochromatic
#220707 #541311 #871E1C #BA2927 #D84845

Accessibility & contrast

On white

9.41
#871E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#871E1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E1C
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E1C#FFFFFF#000000##FFFFFF
##871E1C1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381B
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871e1c;
/* rgb */ color: rgb(135, 30, 28);
/* oklch */ color: oklch(41.2% 0.141 26.8);
Tailwind
colors: {
  custom: {
    50: '#b26358',
    500: '#871e1c',
    950: '#000000',
  },
}
SCSS
$custom: #871e1c;
$custom-light: #b26358;
$custom-dark: #000000;
JSON
{
  "hex": "#871e1c",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 28
  },
  "hsl": {
    "h": 1.121,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41188,
    "c": 0.1408,
    "h": 26.8
  },
  "luminance": 0.06163
}

Semantic roles & 50–950 ramp

primary
#871E1C
secondary
#45B8BA
accent
#E5E93F
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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