#871B1E#871B1E

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

Color values

HEX#871B1E
RGBrgb(135, 27, 30)
HSLhsl(358, 67%, 32%)
HSVhsv(358, 80%, 53%)
CMYKcmyk(0%, 80%, 77.8%, 47.1%)
CIE-LABlab(29.49, 44.75, 27.17)
CIE-LCHlch(29.49, 52.35, 31.27°)
OKLaboklab(40.95% 0.1296 0.0606)
OKLCHoklch(40.95% 0.143 25)
XYZxyz(10.6192, 6.0302, 1.8328)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B1E #1B8784
analogous
#871B54 #871B1E #874E1B
triadic
#871B1E #1E871B #1B1E87
tetradic
#871B1E #54871B #1B8784 #4E1B87
square
#871B1E #54871B #1B8784 #4E1B87
split-complementary
#871B1E #1B874E #1B5487
monochromatic
#210707 #541113 #871B1E #BA2529 #D94347

Accessibility & contrast

On white

9.52
#871B1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B1E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B1E#FFFFFF#000000##FFFFFF
##871B1E1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C371D
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#95001E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871b1e;
/* rgb */ color: rgb(135, 27, 30);
/* oklch */ color: oklch(40.9% 0.143 25.0);
Tailwind
colors: {
  custom: {
    50: '#b2625a',
    500: '#871b1e',
    950: '#000000',
  },
}
SCSS
$custom: #871b1e;
$custom-light: #b2625a;
$custom-dark: #000000;
JSON
{
  "hex": "#871b1e",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 30
  },
  "hsl": {
    "h": 358.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40946,
    "c": 0.14304,
    "h": 25
  },
  "luminance": 0.06029
}

Semantic roles & 50–950 ramp

primary
#871B1E
secondary
#44BAB7
accent
#EAE53E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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