#871F1C#871F1C

#871F1C is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.140 H 27.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#871F1C
RGBrgb(135, 31, 28)
HSLhsl(2, 66%, 32%)
HSVhsv(2, 79%, 53%)
CMYKcmyk(0%, 77%, 79.3%, 47.1%)
CIE-LABlab(29.95, 43.30, 28.90)
CIE-LCHlch(29.95, 52.06, 33.72°)
OKLaboklab(41.28% 0.1246 0.0638)
OKLCHoklch(41.28% 0.14 27.1)
XYZxyz(10.6925, 6.2164, 1.7353)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F1C #1C8487
analogous
#871C4F #871F1C #87551C
triadic
#871F1C #1C871F #1F1C87
tetradic
#871F1C #4F871C #1C8487 #551C87
square
#871F1C #4F871C #1C8487 #551C87
split-complementary
#871F1C #1C8755 #1C4F87
monochromatic
#220807 #541311 #871F1C #BA2B27 #D84945

Accessibility & contrast

On white

9.36
#871F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F1C
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F1C#FFFFFF#000000##FFFFFF
##871F1C1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F381A
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871f1c;
/* rgb */ color: rgb(135, 31, 28);
/* oklch */ color: oklch(41.3% 0.140 27.1);
Tailwind
colors: {
  custom: {
    50: '#b26459',
    500: '#871f1c',
    950: '#000000',
  },
}
SCSS
$custom: #871f1c;
$custom-light: #b26459;
$custom-dark: #000000;
JSON
{
  "hex": "#871f1c",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 28
  },
  "hsl": {
    "h": 1.682,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41283,
    "c": 0.13993,
    "h": 27.1
  },
  "luminance": 0.06215
}

Semantic roles & 50–950 ramp

primary
#871F1C
secondary
#45B7BA
accent
#E4E93F
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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