#871A1B#871A1B

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

Color values

HEX#871A1B
RGBrgb(135, 26, 27)
HSLhsl(359, 68%, 32%)
HSVhsv(359, 81%, 53%)
CMYKcmyk(0%, 80.7%, 80%, 47.1%)
CIE-LABlab(29.34, 44.95, 28.85)
CIE-LCHlch(29.34, 53.41, 32.69°)
OKLaboklab(40.82% 0.1295 0.0633)
OKLCHoklch(40.82% 0.144 26.1)
XYZxyz(10.5602, 5.9705, 1.6331)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A1B #1A8786
analogous
#871A52 #871A1B #87501A
triadic
#871A1B #1B871A #1A1B87
tetradic
#871A1B #52871A #1A8786 #501A87
square
#871A1B #52871A #1A8786 #501A87
split-complementary
#871A1B #1A8750 #1A5287
monochromatic
#200606 #541011 #871A1B #BA2425 #DA4142

Accessibility & contrast

On white

9.57
#871A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A1B
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A1B#FFFFFF#000000##FFFFFF
##871A1B1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871a1b;
/* rgb */ color: rgb(135, 26, 27);
/* oklch */ color: oklch(40.8% 0.144 26.1);
Tailwind
colors: {
  custom: {
    50: '#b26258',
    500: '#871a1b',
    950: '#000000',
  },
}
SCSS
$custom: #871a1b;
$custom-light: #b26258;
$custom-dark: #000000;
JSON
{
  "hex": "#871a1b",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 27
  },
  "hsl": {
    "h": 359.45,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40822,
    "c": 0.14419,
    "h": 26.1
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#871A1B
secondary
#42BAB9
accent
#EBE93D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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