#871C16#871C16

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

Color values

HEX#871C16
RGBrgb(135, 28, 22)
HSLhsl(3, 72%, 31%)
HSVhsv(3, 84%, 53%)
CMYKcmyk(0%, 79.3%, 83.7%, 47.1%)
CIE-LABlab(29.52, 44.13, 31.97)
CIE-LCHlch(29.52, 54.49, 35.92°)
OKLaboklab(40.94% 0.1259 0.0684)
OKLCHoklch(40.94% 0.143 28.5)
XYZxyz(10.5530, 6.0410, 1.3693)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C16 #168187
analogous
#871648 #871C16 #875416
triadic
#871C16 #16871C #1C1687
tetradic
#871C16 #488716 #168187 #541687
square
#871C16 #488716 #168187 #541687
split-complementary
#871C16 #168754 #164887
monochromatic
#1E0605 #52110D #871C16 #BC271F #DF4239

Accessibility & contrast

On white

9.51
#871C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#871C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C16
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C16#FFFFFF#000000##FFFFFF
##871C161.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3714
Deuteranopia (green-blind)
#584E11
Tritanopia (blue-blind)
#95001C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c16;
/* rgb */ color: rgb(135, 28, 22);
/* oklch */ color: oklch(40.9% 0.143 28.5);
Tailwind
colors: {
  custom: {
    50: '#b36254',
    500: '#871c16',
    950: '#000000',
  },
}
SCSS
$custom: #871c16;
$custom-light: #b36254;
$custom-dark: #000000;
JSON
{
  "hex": "#871c16",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 22
  },
  "hsl": {
    "h": 3.186,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40937,
    "c": 0.14326,
    "h": 28.5
  },
  "luminance": 0.06039
}

Semantic roles & 50–950 ramp

primary
#871C16
secondary
#3EB4BB
accent
#E5EF39
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130603
muted
#827A78

Preview Lab

Preview with #871C16

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

Preview Lab → · Contrast checker → · Palette generator →

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