#871B1C#871B1C

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

Color values

HEX#871B1C
RGBrgb(135, 27, 28)
HSLhsl(359, 67%, 32%)
HSVhsv(359, 80%, 53%)
CMYKcmyk(0%, 80%, 79.3%, 47.1%)
CIE-LABlab(29.46, 44.67, 28.37)
CIE-LCHlch(29.46, 52.92, 32.42°)
OKLaboklab(40.92% 0.1289 0.0626)
OKLCHoklch(40.92% 0.143 25.9)
XYZxyz(10.5945, 6.0203, 1.7026)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B1C #1B8786
analogous
#871B52 #871B1C #87501B
triadic
#871B1C #1C871B #1B1C87
tetradic
#871B1C #52871B #1B8786 #501B87
square
#871B1C #52871B #1B8786 #501B87
split-complementary
#871B1C #1B8750 #1B5287
monochromatic
#210707 #541111 #871B1C #BA2527 #D94344

Accessibility & contrast

On white

9.53
#871B1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B1C
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B1C#FFFFFF#000000##FFFFFF
##871B1C1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871b1c;
/* rgb */ color: rgb(135, 27, 28);
/* oklch */ color: oklch(40.9% 0.143 25.9);
Tailwind
colors: {
  custom: {
    50: '#b26258',
    500: '#871b1c',
    950: '#000000',
  },
}
SCSS
$custom: #871b1c;
$custom-light: #b26258;
$custom-dark: #000000;
JSON
{
  "hex": "#871b1c",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 28
  },
  "hsl": {
    "h": 359.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40919,
    "c": 0.14328,
    "h": 25.9
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#871B1C
secondary
#44BAB9
accent
#EAE83E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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