#871D18#871D18

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

Color values

HEX#871D18
RGBrgb(135, 29, 24)
HSLhsl(3, 70%, 31%)
HSVhsv(3, 82%, 53%)
CMYKcmyk(0%, 78.5%, 82.2%, 47.1%)
CIE-LABlab(29.66, 43.86, 30.96)
CIE-LCHlch(29.66, 53.68, 35.22°)
OKLaboklab(41.05% 0.1254 0.0669)
OKLCHoklch(41.05% 0.142 28.1)
XYZxyz(10.5972, 6.0973, 1.4829)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D18 #188287
analogous
#87184A #871D18 #875418
triadic
#871D18 #18871D #1D1887
tetradic
#871D18 #4A8718 #188287 #541887
square
#871D18 #4A8718 #188287 #541887
split-complementary
#871D18 #188754 #184A87
monochromatic
#1F0706 #53120F #871D18 #BB2821 #DC443D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871D18#FFFFFF#000000##FFFFFF
##871D181.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)
#3E3716
Deuteranopia (green-blind)
#584E13
Tritanopia (blue-blind)
#95001D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871d18;
/* rgb */ color: rgb(135, 29, 24);
/* oklch */ color: oklch(41.0% 0.142 28.1);
Tailwind
colors: {
  custom: {
    50: '#b26356',
    500: '#871d18',
    950: '#000000',
  },
}
SCSS
$custom: #871d18;
$custom-light: #b26356;
$custom-dark: #000000;
JSON
{
  "hex": "#871d18",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 24
  },
  "hsl": {
    "h": 2.703,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41049,
    "c": 0.14218,
    "h": 28.1
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#871D18
secondary
#40B5BB
accent
#E5ED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871D18

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

Preview Lab → · Contrast checker → · Palette generator →

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