#871F26#871F26

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

Color values

HEX#871F26
RGBrgb(135, 31, 38)
HSLhsl(356, 63%, 33%)
HSVhsv(356, 77%, 53%)
CMYKcmyk(0%, 77%, 71.9%, 47.1%)
CIE-LABlab(30.09, 43.76, 22.82)
CIE-LCHlch(30.09, 49.35, 27.54°)
OKLaboklab(41.43% 0.1283 0.0528)
OKLCHoklch(41.43% 0.139 22.4)
XYZxyz(10.8327, 6.2725, 2.4737)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F26 #1F8780
analogous
#871F5A #871F26 #874C1F
triadic
#871F26 #26871F #1F2687
tetradic
#871F26 #5A871F #1F8780 #4C1F87
square
#871F26 #5A871F #1F8780 #4C1F87
split-complementary
#871F26 #1F874C #1F5A87
monochromatic
#23080A #551418 #871F26 #B92A34 #D64B54

Accessibility & contrast

On white

9.32
#871F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F26
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F26#FFFFFF#000000##FFFFFF
##871F261.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871f26;
/* rgb */ color: rgb(135, 31, 38);
/* oklch */ color: oklch(41.4% 0.139 22.4);
Tailwind
colors: {
  custom: {
    50: '#b16460',
    500: '#871f26',
    950: '#000000',
  },
}
SCSS
$custom: #871f26;
$custom-light: #b16460;
$custom-dark: #000000;
JSON
{
  "hex": "#871f26",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 38
  },
  "hsl": {
    "h": 355.962,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41429,
    "c": 0.13875,
    "h": 22.4
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#871F26
secondary
#4AB8B1
accent
#E6DB42
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871F26

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

Preview Lab → · Contrast checker → · Palette generator →

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