#871E28#871E28

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

Color values

HEX#871E28
RGBrgb(135, 30, 40)
HSLhsl(354, 64%, 32%)
HSVhsv(354, 78%, 53%)
CMYKcmyk(0%, 77.8%, 70.4%, 47.1%)
CIE-LABlab(30.00, 44.22, 21.42)
CIE-LCHlch(30.00, 49.13, 25.85°)
OKLaboklab(41.37% 0.1302 0.05)
OKLCHoklch(41.37% 0.14 21)
XYZxyz(10.8402, 6.2343, 2.6396)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E28 #1E877D
analogous
#871E5C #871E28 #87491E
triadic
#871E28 #28871E #1E2887
tetradic
#871E28 #5C871E #1E877D #491E87
square
#871E28 #5C871E #1E877D #491E87
split-complementary
#871E28 #1E8749 #1E5C87
monochromatic
#23080A #551319 #871E28 #B92937 #D74956

Accessibility & contrast

On white

9.35
#871E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#871E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E28
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E28#FFFFFF#000000##FFFFFF
##871E281.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3828
Deuteranopia (green-blind)
#574F25
Tritanopia (blue-blind)
#950023
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871e28;
/* rgb */ color: rgb(135, 30, 40);
/* oklch */ color: oklch(41.4% 0.140 21.0);
Tailwind
colors: {
  custom: {
    50: '#b16461',
    500: '#871e28',
    950: '#000000',
  },
}
SCSS
$custom: #871e28;
$custom-light: #b16461;
$custom-dark: #000000;
JSON
{
  "hex": "#871e28",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 40
  },
  "hsl": {
    "h": 354.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4137,
    "c": 0.13951,
    "h": 21
  },
  "luminance": 0.06233
}

Semantic roles & 50–950 ramp

primary
#871E28
secondary
#48B9AE
accent
#E7D741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #871E28

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

Preview Lab → · Contrast checker → · Palette generator →

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