#871D32#871D32

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

Color values

HEX#871D32
RGBrgb(135, 29, 50)
HSLhsl(348, 65%, 32%)
HSVhsv(348, 79%, 53%)
CMYKcmyk(0%, 78.5%, 63%, 47.1%)
CIE-LABlab(30.06, 45.17, 14.96)
CIE-LCHlch(30.06, 47.58, 18.32°)
OKLaboklab(41.48% 0.1355 0.0365)
OKLCHoklch(41.48% 0.14 15.1)
XYZxyz(11.0079, 6.2615, 3.6460)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D32 #1D8772
analogous
#871D67 #871D32 #873D1D
triadic
#871D32 #32871D #1D3287
tetradic
#871D32 #67871D #1D8772 #3D1D87
square
#871D32 #67871D #1D8772 #3D1D87
split-complementary
#871D32 #1D873D #1D6787
monochromatic
#22070D #55121F #871D32 #B92845 #D74764

Accessibility & contrast

On white

9.33
#871D32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D32
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D32#FFFFFF#000000##FFFFFF
##871D321.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3932
Deuteranopia (green-blind)
#564F2F
Tritanopia (blue-blind)
#940026
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871d32;
/* rgb */ color: rgb(135, 29, 50);
/* oklch */ color: oklch(41.5% 0.140 15.1);
Tailwind
colors: {
  custom: {
    50: '#b06369',
    500: '#871d32',
    950: '#000000',
  },
}
SCSS
$custom: #871d32;
$custom-light: #b06369;
$custom-dark: #000000;
JSON
{
  "hex": "#871d32",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 50
  },
  "hsl": {
    "h": 348.113,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41481,
    "c": 0.1403,
    "h": 15.1
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

primary
#871D32
secondary
#46B9A3
accent
#E8C640
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871D32

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

Preview Lab → · Contrast checker → · Palette generator →

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