#871E36#871E36

#871E36 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.7% C 0.140 H 12.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#871E36
RGBrgb(135, 30, 54)
HSLhsl(346, 64%, 32%)
HSVhsv(346, 78%, 53%)
CMYKcmyk(0%, 77.8%, 60%, 47.1%)
CIE-LABlab(30.27, 45.12, 12.59)
CIE-LCHlch(30.27, 46.84, 15.59°)
OKLaboklab(41.66% 0.136 0.0312)
OKLCHoklch(41.66% 0.14 12.9)
XYZxyz(11.1229, 6.3474, 4.1288)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E36 #1E876F
analogous
#871E6A #871E36 #873B1E
triadic
#871E36 #36871E #1E3687
tetradic
#871E36 #6A871E #1E876F #3B1E87
square
#871E36 #6A871E #1E876F #3B1E87
split-complementary
#871E36 #1E873B #1E6A87
monochromatic
#23080E #551322 #871E36 #B9294A #D74969

Accessibility & contrast

On white

9.25
#871E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#871E36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E36
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E36#FFFFFF#000000##FFFFFF
##871E361.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A36
Deuteranopia (green-blind)
#554F33
Tritanopia (blue-blind)
#940028
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871e36;
/* rgb */ color: rgb(135, 30, 54);
/* oklch */ color: oklch(41.7% 0.140 12.9);
Tailwind
colors: {
  custom: {
    50: '#b0646c',
    500: '#871e36',
    950: '#000000',
  },
}
SCSS
$custom: #871e36;
$custom-light: #b0646c;
$custom-dark: #000000;
JSON
{
  "hex": "#871e36",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 54
  },
  "hsl": {
    "h": 346.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41664,
    "c": 0.13957,
    "h": 12.9
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#871E36
secondary
#48B99F
accent
#E7C141
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #871E36

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

Preview Lab → · Contrast checker → · Palette generator →

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