#871F22#871F22

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

Color values

HEX#871F22
RGBrgb(135, 31, 34)
HSLhsl(358, 63%, 33%)
HSVhsv(358, 77%, 53%)
CMYKcmyk(0%, 77%, 74.8%, 47.1%)
CIE-LABlab(30.03, 43.56, 25.29)
CIE-LCHlch(30.03, 50.37, 30.14°)
OKLaboklab(41.37% 0.1268 0.0574)
OKLCHoklch(41.37% 0.139 24.4)
XYZxyz(10.7716, 6.2480, 2.1519)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F22 #1F8784
analogous
#871F56 #871F22 #87501F
triadic
#871F22 #22871F #1F2287
tetradic
#871F22 #56871F #1F8784 #501F87
square
#871F22 #56871F #1F8784 #501F87
split-complementary
#871F22 #1F8750 #1F5687
monochromatic
#230809 #551415 #871F22 #B92A2F #D64B4F

Accessibility & contrast

On white

9.34
#871F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F22
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F22#FFFFFF#000000##FFFFFF
##871F221.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871f22;
/* rgb */ color: rgb(135, 31, 34);
/* oklch */ color: oklch(41.4% 0.139 24.4);
Tailwind
colors: {
  custom: {
    50: '#b2645d',
    500: '#871f22',
    950: '#000000',
  },
}
SCSS
$custom: #871f22;
$custom-light: #b2645d;
$custom-dark: #000000;
JSON
{
  "hex": "#871f22",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 358.269,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41365,
    "c": 0.13915,
    "h": 24.4
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#871F22
secondary
#4AB8B5
accent
#E6E142
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871F22

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

Preview Lab → · Contrast checker → · Palette generator →

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