#871E33#871E33

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

Color values

HEX#871E33
RGBrgb(135, 30, 51)
HSLhsl(348, 64%, 32%)
HSVhsv(348, 78%, 53%)
CMYKcmyk(0%, 77.8%, 62.2%, 47.1%)
CIE-LABlab(30.21, 44.90, 14.48)
CIE-LCHlch(30.21, 47.18, 17.88°)
OKLaboklab(41.59% 0.1348 0.0355)
OKLCHoklch(41.59% 0.139 14.7)
XYZxyz(11.0546, 6.3201, 3.7691)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E33 #1E8772
analogous
#871E68 #871E33 #873E1E
triadic
#871E33 #33871E #1E3387
tetradic
#871E33 #68871E #1E8772 #3E1E87
square
#871E33 #68871E #1E8772 #3E1E87
split-complementary
#871E33 #1E873E #1E6887
monochromatic
#23080D #551320 #871E33 #B92946 #D74965

Accessibility & contrast

On white

9.28
#871E33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E33
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E33#FFFFFF#000000##FFFFFF
##871E331.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3933
Deuteranopia (green-blind)
#564F30
Tritanopia (blue-blind)
#940027
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871e33;
/* rgb */ color: rgb(135, 30, 51);
/* oklch */ color: oklch(41.6% 0.139 14.7);
Tailwind
colors: {
  custom: {
    50: '#b0646a',
    500: '#871e33',
    950: '#000000',
  },
}
SCSS
$custom: #871e33;
$custom-light: #b0646a;
$custom-dark: #000000;
JSON
{
  "hex": "#871e33",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 51
  },
  "hsl": {
    "h": 348,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41594,
    "c": 0.13938,
    "h": 14.7
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#871E33
secondary
#48B9A2
accent
#E7C641
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871E33

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

Preview Lab → · Contrast checker → · Palette generator →

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