#871F28#871F28

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

Color values

HEX#871F28
RGBrgb(135, 31, 40)
HSLhsl(355, 63%, 33%)
HSVhsv(355, 77%, 53%)
CMYKcmyk(0%, 77%, 70.4%, 47.1%)
CIE-LABlab(30.12, 43.87, 21.57)
CIE-LCHlch(30.12, 48.88, 26.19°)
OKLaboklab(41.46% 0.1291 0.0504)
OKLCHoklch(41.46% 0.139 21.3)
XYZxyz(10.8659, 6.2857, 2.6482)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F28 #1F877E
analogous
#871F5C #871F28 #874A1F
triadic
#871F28 #28871F #1F2887
tetradic
#871F28 #5C871F #1F877E #4A1F87
square
#871F28 #5C871F #1F877E #4A1F87
split-complementary
#871F28 #1F874A #1F5C87
monochromatic
#23080B #551419 #871F28 #B92A37 #D64B57

Accessibility & contrast

On white

9.31
#871F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#871F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F28
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F28#FFFFFF#000000##FFFFFF
##871F281.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871f28;
/* rgb */ color: rgb(135, 31, 40);
/* oklch */ color: oklch(41.5% 0.139 21.3);
Tailwind
colors: {
  custom: {
    50: '#b16461',
    500: '#871f28',
    950: '#000000',
  },
}
SCSS
$custom: #871f28;
$custom-light: #b16461;
$custom-dark: #000000;
JSON
{
  "hex": "#871f28",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 354.808,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41464,
    "c": 0.13859,
    "h": 21.3
  },
  "luminance": 0.06284
}

Semantic roles & 50–950 ramp

primary
#871F28
secondary
#4AB8AF
accent
#E6D842
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #871F28

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

Preview Lab → · Contrast checker → · Palette generator →

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