#871A1A#871A1A

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

Color values

HEX#871A1A
RGBrgb(135, 26, 26)
HSLhsl(0, 68%, 32%)
HSVhsv(0, 81%, 53%)
CMYKcmyk(0%, 80.7%, 80.7%, 47.1%)
CIE-LABlab(29.33, 44.91, 29.44)
CIE-LCHlch(29.33, 53.70, 33.24°)
OKLaboklab(40.81% 0.1292 0.0643)
OKLCHoklch(40.81% 0.144 26.5)
XYZxyz(10.5488, 5.9660, 1.5732)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A1A #1A8787
analogous
#871A51 #871A1A #87511A
triadic
#871A1A #1A871A #1A1A87
tetradic
#871A1A #51871A #1A8787 #511A87
square
#871A1A #51871A #1A8787 #511A87
split-complementary
#871A1A #1A8751 #1A5187
monochromatic
#200606 #541010 #871A1A #BA2424 #DA4141

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871A1A#FFFFFF#000000##FFFFFF
##871A1A1.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)
#3C3619
Deuteranopia (green-blind)
#574E15
Tritanopia (blue-blind)
#95001C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871a1a;
/* rgb */ color: rgb(135, 26, 26);
/* oklch */ color: oklch(40.8% 0.144 26.5);
Tailwind
colors: {
  custom: {
    50: '#b26257',
    500: '#871a1a',
    950: '#000000',
  },
}
SCSS
$custom: #871a1a;
$custom-light: #b26257;
$custom-dark: #000000;
JSON
{
  "hex": "#871a1a",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 26
  },
  "hsl": {
    "h": 0,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4081,
    "c": 0.14432,
    "h": 26.5
  },
  "luminance": 0.05964
}

Semantic roles & 50–950 ramp

primary
#871A1A
secondary
#42BABA
accent
#EBEB3D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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