#871C18#871C18

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

Color values

HEX#871C18
RGBrgb(135, 28, 24)
HSLhsl(2, 70%, 31%)
HSVhsv(2, 82%, 53%)
CMYKcmyk(0%, 79.3%, 82.2%, 47.1%)
CIE-LABlab(29.54, 44.19, 30.84)
CIE-LCHlch(29.54, 53.89, 34.90°)
OKLaboklab(40.96% 0.1265 0.0667)
OKLCHoklch(40.96% 0.143 27.8)
XYZxyz(10.5731, 6.0490, 1.4748)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C18 #188387
analogous
#87184B #871C18 #875318
triadic
#871C18 #18871C #1C1887
tetradic
#871C18 #4B8718 #188387 #531887
square
#871C18 #4B8718 #188387 #531887
split-complementary
#871C18 #188753 #184B87
monochromatic
#1F0606 #53110F #871C18 #BB2721 #DC433D

Accessibility & contrast

On white

9.50
#871C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C18
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C18#FFFFFF#000000##FFFFFF
##871C181.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3716
Deuteranopia (green-blind)
#584E13
Tritanopia (blue-blind)
#95001D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c18;
/* rgb */ color: rgb(135, 28, 24);
/* oklch */ color: oklch(41.0% 0.143 27.8);
Tailwind
colors: {
  custom: {
    50: '#b26256',
    500: '#871c18',
    950: '#000000',
  },
}
SCSS
$custom: #871c18;
$custom-light: #b26256;
$custom-dark: #000000;
JSON
{
  "hex": "#871c18",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 24
  },
  "hsl": {
    "h": 2.162,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40959,
    "c": 0.14299,
    "h": 27.8
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#871C18
secondary
#40B6BB
accent
#E6ED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871C18

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

Preview Lab → · Contrast checker → · Palette generator →

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