#871E18#871E18

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

Color values

HEX#871E18
RGBrgb(135, 30, 24)
HSLhsl(3, 70%, 31%)
HSVhsv(3, 82%, 53%)
CMYKcmyk(0%, 77.8%, 82.2%, 47.1%)
CIE-LABlab(29.78, 43.51, 31.08)
CIE-LCHlch(29.78, 53.47, 35.54°)
OKLaboklab(41.14% 0.1244 0.0672)
OKLCHoklch(41.14% 0.141 28.4)
XYZxyz(10.6221, 6.1471, 1.4912)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E18 #188187
analogous
#871849 #871E18 #875518
triadic
#871E18 #18871E #1E1887
tetradic
#871E18 #498718 #188187 #551887
square
#871E18 #498718 #188187 #551887
split-complementary
#871E18 #188755 #184987
monochromatic
#1F0706 #53120F #871E18 #BB2A21 #DC463D

Accessibility & contrast

On white

9.42
#871E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E18
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E18#FFFFFF#000000##FFFFFF
##871E181.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871e18;
/* rgb */ color: rgb(135, 30, 24);
/* oklch */ color: oklch(41.1% 0.141 28.4);
Tailwind
colors: {
  custom: {
    50: '#b26356',
    500: '#871e18',
    950: '#000000',
  },
}
SCSS
$custom: #871e18;
$custom-light: #b26356;
$custom-dark: #000000;
JSON
{
  "hex": "#871e18",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 24
  },
  "hsl": {
    "h": 3.243,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41141,
    "c": 0.14135,
    "h": 28.4
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#871E18
secondary
#40B4BB
accent
#E3ED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871E18

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

Preview Lab → · Contrast checker → · Palette generator →

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