#871A18#871A18

#871A18 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.8% C 0.145 H 27.2°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#871A18
RGBrgb(135, 26, 24)
HSLhsl(1, 70%, 31%)
HSVhsv(1, 82%, 53%)
CMYKcmyk(0%, 80.7%, 82.2%, 47.1%)
CIE-LABlab(29.30, 44.84, 30.60)
CIE-LCHlch(29.30, 54.29, 34.31°)
OKLaboklab(40.79% 0.1285 0.0662)
OKLCHoklch(40.79% 0.145 27.2)
XYZxyz(10.5272, 5.9573, 1.4596)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A18 #188587
analogous
#87184D #871A18 #875118
triadic
#871A18 #18871A #1A1887
tetradic
#871A18 #4D8718 #188587 #511887
square
#871A18 #4D8718 #188587 #511887
split-complementary
#871A18 #188751 #184D87
monochromatic
#1F0606 #53100F #871A18 #BB2421 #DC403D

Accessibility & contrast

On white

9.58
#871A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#871A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A18
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A18#FFFFFF#000000##FFFFFF
##871A181.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3616
Deuteranopia (green-blind)
#574E13
Tritanopia (blue-blind)
#95001B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871a18;
/* rgb */ color: rgb(135, 26, 24);
/* oklch */ color: oklch(40.8% 0.145 27.2);
Tailwind
colors: {
  custom: {
    50: '#b36255',
    500: '#871a18',
    950: '#000000',
  },
}
SCSS
$custom: #871a18;
$custom-light: #b36255;
$custom-dark: #000000;
JSON
{
  "hex": "#871a18",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 24
  },
  "hsl": {
    "h": 1.081,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40787,
    "c": 0.14457,
    "h": 27.2
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#871A18
secondary
#40B8BB
accent
#E9ED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #871A18

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

Preview Lab → · Contrast checker → · Palette generator →

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