#871B18#871B18

#871B18 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.9% C 0.144 H 27.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#871B18
RGBrgb(135, 27, 24)
HSLhsl(2, 70%, 31%)
HSVhsv(2, 82%, 53%)
CMYKcmyk(0%, 80%, 82.2%, 47.1%)
CIE-LABlab(29.42, 44.52, 30.72)
CIE-LCHlch(29.42, 54.09, 34.60°)
OKLaboklab(40.87% 0.1275 0.0664)
OKLCHoklch(40.87% 0.144 27.5)
XYZxyz(10.5498, 6.0024, 1.4671)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B18 #188487
analogous
#87184C #871B18 #875218
triadic
#871B18 #18871B #1B1887
tetradic
#871B18 #4C8718 #188487 #521887
square
#871B18 #4C8718 #188487 #521887
split-complementary
#871B18 #188752 #184C87
monochromatic
#1F0606 #53110F #871B18 #BB2521 #DC413D

Accessibility & contrast

On white

9.54
#871B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#871B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B18
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B18#FFFFFF#000000##FFFFFF
##871B181.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871b18;
/* rgb */ color: rgb(135, 27, 24);
/* oklch */ color: oklch(40.9% 0.144 27.5);
Tailwind
colors: {
  custom: {
    50: '#b26256',
    500: '#871b18',
    950: '#000000',
  },
}
SCSS
$custom: #871b18;
$custom-light: #b26256;
$custom-dark: #000000;
JSON
{
  "hex": "#871b18",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 24
  },
  "hsl": {
    "h": 1.622,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40871,
    "c": 0.14379,
    "h": 27.5
  },
  "luminance": 0.06001
}

Semantic roles & 50–950 ramp

primary
#871B18
secondary
#40B7BB
accent
#E8ED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #871B18

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

Preview Lab → · Contrast checker → · Palette generator →

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