#871B19#871B19

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

Color values

HEX#871B19
RGBrgb(135, 27, 25)
HSLhsl(1, 69%, 31%)
HSVhsv(1, 81%, 53%)
CMYKcmyk(0%, 80%, 81.5%, 47.1%)
CIE-LABlab(29.43, 44.56, 30.14)
CIE-LCHlch(29.43, 53.79, 34.07°)
OKLaboklab(40.88% 0.1279 0.0655)
OKLCHoklch(40.88% 0.144 27.1)
XYZxyz(10.5604, 6.0066, 1.5229)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B19 #198587
analogous
#87194E #871B19 #875219
triadic
#871B19 #19871B #1B1987
tetradic
#871B19 #4E8719 #198587 #521987
square
#871B19 #4E8719 #198587 #521987
split-complementary
#871B19 #198752 #194E87
monochromatic
#200606 #53110F #871B19 #BB2523 #DB423F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871B19#FFFFFF#000000##FFFFFF
##871B191.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)
#3D3617
Deuteranopia (green-blind)
#574E14
Tritanopia (blue-blind)
#95001C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871b19;
/* rgb */ color: rgb(135, 27, 25);
/* oklch */ color: oklch(40.9% 0.144 27.1);
Tailwind
colors: {
  custom: {
    50: '#b26256',
    500: '#871b19',
    950: '#000000',
  },
}
SCSS
$custom: #871b19;
$custom-light: #b26256;
$custom-dark: #000000;
JSON
{
  "hex": "#871b19",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 25
  },
  "hsl": {
    "h": 1.091,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40883,
    "c": 0.14366,
    "h": 27.1
  },
  "luminance": 0.06005
}

Semantic roles & 50–950 ramp

primary
#871B19
secondary
#41B8BA
accent
#E8EC3C
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871B19

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

Preview Lab → · Contrast checker → · Palette generator →

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