#871E25#871E25

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

Color values

HEX#871E25
RGBrgb(135, 30, 37)
HSLhsl(356, 64%, 32%)
HSVhsv(356, 78%, 53%)
CMYKcmyk(0%, 77.8%, 72.6%, 47.1%)
CIE-LABlab(29.95, 44.06, 23.29)
CIE-LCHlch(29.95, 49.84, 27.86°)
OKLaboklab(41.32% 0.129 0.0537)
OKLCHoklch(41.32% 0.14 22.6)
XYZxyz(10.7911, 6.2147, 2.3813)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E25 #1E8780
analogous
#871E5A #871E25 #874C1E
triadic
#871E25 #25871E #1E2587
tetradic
#871E25 #5A871E #1E8780 #4C1E87
square
#871E25 #5A871E #1E8780 #4C1E87
split-complementary
#871E25 #1E874C #1E5A87
monochromatic
#23080A #551317 #871E25 #B92933 #D74952

Accessibility & contrast

On white

9.36
#871E25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E25
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E25#FFFFFF#000000##FFFFFF
##871E251.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3824
Deuteranopia (green-blind)
#574F22
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871e25;
/* rgb */ color: rgb(135, 30, 37);
/* oklch */ color: oklch(41.3% 0.140 22.6);
Tailwind
colors: {
  custom: {
    50: '#b1635f',
    500: '#871e25',
    950: '#000000',
  },
}
SCSS
$custom: #871e25;
$custom-light: #b1635f;
$custom-dark: #000000;
JSON
{
  "hex": "#871e25",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 37
  },
  "hsl": {
    "h": 356,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41319,
    "c": 0.13975,
    "h": 22.6
  },
  "luminance": 0.06213
}

Semantic roles & 50–950 ramp

primary
#871E25
secondary
#48B9B1
accent
#E7DC41
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871E25

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

Preview Lab → · Contrast checker → · Palette generator →

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