#871A1E#871A1E

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

Color values

HEX#871A1E
RGBrgb(135, 26, 30)
HSLhsl(358, 68%, 32%)
HSVhsv(358, 81%, 53%)
CMYKcmyk(0%, 80.7%, 77.8%, 47.1%)
CIE-LABlab(29.37, 45.07, 27.05)
CIE-LCHlch(29.37, 52.56, 30.97°)
OKLaboklab(40.86% 0.1306 0.0603)
OKLCHoklch(40.86% 0.144 24.8)
XYZxyz(10.5967, 5.9851, 1.8253)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A1E #1A8783
analogous
#871A55 #871A1E #874D1A
triadic
#871A1E #1E871A #1A1E87
tetradic
#871A1E #55871A #1A8783 #4D1A87
square
#871A1E #55871A #1A8783 #4D1A87
split-complementary
#871A1E #1A874D #1A5587
monochromatic
#200607 #541013 #871A1E #BA2429 #DA4147

Accessibility & contrast

On white

9.56
#871A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A1E
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A1E#FFFFFF#000000##FFFFFF
##871A1E1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361D
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#95001D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871a1e;
/* rgb */ color: rgb(135, 26, 30);
/* oklch */ color: oklch(40.9% 0.144 24.8);
Tailwind
colors: {
  custom: {
    50: '#b2625a',
    500: '#871a1e',
    950: '#000000',
  },
}
SCSS
$custom: #871a1e;
$custom-light: #b2625a;
$custom-dark: #000000;
JSON
{
  "hex": "#871a1e",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 30
  },
  "hsl": {
    "h": 357.798,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40861,
    "c": 0.14384,
    "h": 24.8
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#871A1E
secondary
#42BAB6
accent
#EBE43D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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