#871A1C#871A1C

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

Color values

HEX#871A1C
RGBrgb(135, 26, 28)
HSLhsl(359, 68%, 32%)
HSVhsv(359, 81%, 53%)
CMYKcmyk(0%, 80.7%, 79.3%, 47.1%)
CIE-LABlab(29.35, 44.99, 28.25)
CIE-LCHlch(29.35, 53.12, 32.13°)
OKLaboklab(40.84% 0.1299 0.0623)
OKLCHoklch(40.84% 0.144 25.6)
XYZxyz(10.5719, 5.9752, 1.6951)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A1C #1A8785
analogous
#871A53 #871A1C #874F1A
triadic
#871A1C #1C871A #1A1C87
tetradic
#871A1C #53871A #1A8785 #4F1A87
square
#871A1C #53871A #1A8785 #4F1A87
split-complementary
#871A1C #1A874F #1A5387
monochromatic
#200607 #541011 #871A1C #BA2427 #DA4144

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871A1C#FFFFFF#000000##FFFFFF
##871A1C1.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)
#3C361B
Deuteranopia (green-blind)
#574E17
Tritanopia (blue-blind)
#95001C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871a1c;
/* rgb */ color: rgb(135, 26, 28);
/* oklch */ color: oklch(40.8% 0.144 25.6);
Tailwind
colors: {
  custom: {
    50: '#b26258',
    500: '#871a1c',
    950: '#000000',
  },
}
SCSS
$custom: #871a1c;
$custom-light: #b26258;
$custom-dark: #000000;
JSON
{
  "hex": "#871a1c",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 28
  },
  "hsl": {
    "h": 358.899,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40835,
    "c": 0.14408,
    "h": 25.6
  },
  "luminance": 0.05974
}

Semantic roles & 50–950 ramp

primary
#871A1C
secondary
#42BAB8
accent
#EBE73D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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