#871E23#871E23

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

Color values

HEX#871E23
RGBrgb(135, 30, 35)
HSLhsl(357, 64%, 32%)
HSVhsv(357, 78%, 53%)
CMYKcmyk(0%, 77.8%, 74.1%, 47.1%)
CIE-LABlab(29.92, 43.96, 24.53)
CIE-LCHlch(29.92, 50.34, 29.16°)
OKLaboklab(41.29% 0.1283 0.056)
OKLCHoklch(41.29% 0.14 23.6)
XYZxyz(10.7606, 6.2025, 2.2204)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E23 #1E8782
analogous
#871E57 #871E23 #874E1E
triadic
#871E23 #23871E #1E2387
tetradic
#871E23 #57871E #1E8782 #4E1E87
square
#871E23 #57871E #1E8782 #4E1E87
split-complementary
#871E23 #1E874E #1E5787
monochromatic
#230809 #551316 #871E23 #B92930 #D74950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871E23#FFFFFF#000000##FFFFFF
##871E231.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)
#3D3822
Deuteranopia (green-blind)
#574F1F
Tritanopia (blue-blind)
#950021
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871e23;
/* rgb */ color: rgb(135, 30, 35);
/* oklch */ color: oklch(41.3% 0.140 23.6);
Tailwind
colors: {
  custom: {
    50: '#b2635e',
    500: '#871e23',
    950: '#000000',
  },
}
SCSS
$custom: #871e23;
$custom-light: #b2635e;
$custom-dark: #000000;
JSON
{
  "hex": "#871e23",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 35
  },
  "hsl": {
    "h": 357.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41287,
    "c": 0.13994,
    "h": 23.6
  },
  "luminance": 0.06201
}

Semantic roles & 50–950 ramp

primary
#871E23
secondary
#48B9B3
accent
#E7DF41
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871E23

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

Preview Lab → · Contrast checker → · Palette generator →

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