#871E2F#871E2F

#871E2F is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.5% C 0.139 H 17.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#871E2F
RGBrgb(135, 30, 47)
HSLhsl(350, 64%, 32%)
HSVhsv(350, 78%, 53%)
CMYKcmyk(0%, 77.8%, 65.2%, 47.1%)
CIE-LABlab(30.12, 44.63, 17.01)
CIE-LCHlch(30.12, 47.77, 20.87°)
OKLaboklab(41.51% 0.1331 0.041)
OKLCHoklch(41.51% 0.139 17.1)
XYZxyz(10.9702, 6.2863, 3.3245)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E2F #1E8776
analogous
#871E63 #871E2F #87421E
triadic
#871E2F #2F871E #1E2F87
tetradic
#871E2F #63871E #1E8776 #421E87
square
#871E2F #63871E #1E8776 #421E87
split-complementary
#871E2F #1E8742 #1E6387
monochromatic
#23080C #55131E #871E2F #B92940 #D74960

Accessibility & contrast

On white

9.30
#871E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#871E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E2F
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E2F#FFFFFF#000000##FFFFFF
##871E2F1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392F
Deuteranopia (green-blind)
#564F2C
Tritanopia (blue-blind)
#940025
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871e2f;
/* rgb */ color: rgb(135, 30, 47);
/* oklch */ color: oklch(41.5% 0.139 17.1);
Tailwind
colors: {
  custom: {
    50: '#b16467',
    500: '#871e2f',
    950: '#000000',
  },
}
SCSS
$custom: #871e2f;
$custom-light: #b16467;
$custom-dark: #000000;
JSON
{
  "hex": "#871e2f",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 350.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41506,
    "c": 0.13927,
    "h": 17.1
  },
  "luminance": 0.06285
}

Semantic roles & 50–950 ramp

primary
#871E2F
secondary
#48B9A7
accent
#E7CC41
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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