#871E22#871E22

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

Color values

HEX#871E22
RGBrgb(135, 30, 34)
HSLhsl(358, 64%, 32%)
HSVhsv(358, 78%, 53%)
CMYKcmyk(0%, 77.8%, 74.8%, 47.1%)
CIE-LABlab(29.90, 43.91, 25.14)
CIE-LCHlch(29.90, 50.60, 29.79°)
OKLaboklab(41.27% 0.1279 0.0571)
OKLCHoklch(41.27% 0.14 24.1)
XYZxyz(10.7459, 6.1966, 2.1433)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E22 #1E8783
analogous
#871E57 #871E22 #874E1E
triadic
#871E22 #22871E #1E2287
tetradic
#871E22 #57871E #1E8783 #4E1E87
square
#871E22 #57871E #1E8783 #4E1E87
split-complementary
#871E22 #1E874E #1E5787
monochromatic
#230809 #551315 #871E22 #B9292F #D7494E

Accessibility & contrast

On white

9.38
#871E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E22
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E22#FFFFFF#000000##FFFFFF
##871E221.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3821
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#950021
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871e22;
/* rgb */ color: rgb(135, 30, 34);
/* oklch */ color: oklch(41.3% 0.140 24.1);
Tailwind
colors: {
  custom: {
    50: '#b2635d',
    500: '#871e22',
    950: '#000000',
  },
}
SCSS
$custom: #871e22;
$custom-light: #b2635d;
$custom-dark: #000000;
JSON
{
  "hex": "#871e22",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 34
  },
  "hsl": {
    "h": 357.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41271,
    "c": 0.14004,
    "h": 24.1
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

primary
#871E22
secondary
#48B9B4
accent
#E7E041
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871E22

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

Preview Lab → · Contrast checker → · Palette generator →

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