#871F19#871F19

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

Color values

HEX#871F19
RGBrgb(135, 31, 25)
HSLhsl(3, 69%, 31%)
HSVhsv(3, 81%, 53%)
CMYKcmyk(0%, 77%, 81.5%, 47.1%)
CIE-LABlab(29.92, 43.19, 30.64)
CIE-LCHlch(29.92, 52.95, 35.35°)
OKLaboklab(41.25% 0.1236 0.0666)
OKLCHoklch(41.25% 0.14 28.3)
XYZxyz(10.6584, 6.2027, 1.5556)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F19 #198187
analogous
#87194A #871F19 #875619
triadic
#871F19 #19871F #1F1987
tetradic
#871F19 #4A8719 #198187 #561987
square
#871F19 #4A8719 #198187 #561987
split-complementary
#871F19 #198756 #194A87
monochromatic
#200706 #53130F #871F19 #BB2B23 #DB483F

Accessibility & contrast

On white

9.37
#871F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F19
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F19#FFFFFF#000000##FFFFFF
##871F191.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3817
Deuteranopia (green-blind)
#584F14
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871f19;
/* rgb */ color: rgb(135, 31, 25);
/* oklch */ color: oklch(41.2% 0.140 28.3);
Tailwind
colors: {
  custom: {
    50: '#b26456',
    500: '#871f19',
    950: '#000000',
  },
}
SCSS
$custom: #871f19;
$custom-light: #b26456;
$custom-dark: #000000;
JSON
{
  "hex": "#871f19",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 25
  },
  "hsl": {
    "h": 3.273,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41247,
    "c": 0.14036,
    "h": 28.3
  },
  "luminance": 0.06201
}

Semantic roles & 50–950 ramp

primary
#871F19
secondary
#41B4BA
accent
#E2EC3C
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871F19

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

Preview Lab → · Contrast checker → · Palette generator →

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