#871D33#871D33

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

Color values

HEX#871D33
RGBrgb(135, 29, 51)
HSLhsl(348, 65%, 32%)
HSVhsv(348, 79%, 53%)
CMYKcmyk(0%, 78.5%, 62.2%, 47.1%)
CIE-LABlab(30.08, 45.24, 14.32)
CIE-LCHlch(30.08, 47.45, 17.57°)
OKLaboklab(41.5% 0.1359 0.0351)
OKLCHoklch(41.5% 0.14 14.5)
XYZxyz(11.0297, 6.2703, 3.7608)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D33 #1D8771
analogous
#871D68 #871D33 #873C1D
triadic
#871D33 #33871D #1D3387
tetradic
#871D33 #68871D #1D8771 #3C1D87
square
#871D33 #68871D #1D8771 #3C1D87
split-complementary
#871D33 #1D873C #1D6887
monochromatic
#22070D #551220 #871D33 #B92846 #D74765

Accessibility & contrast

On white

9.32
#871D33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D33
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D33#FFFFFF#000000##FFFFFF
##871D331.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871d33;
/* rgb */ color: rgb(135, 29, 51);
/* oklch */ color: oklch(41.5% 0.140 14.5);
Tailwind
colors: {
  custom: {
    50: '#b0636a',
    500: '#871d33',
    950: '#000000',
  },
}
SCSS
$custom: #871d33;
$custom-light: #b0636a;
$custom-dark: #000000;
JSON
{
  "hex": "#871d33",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 51
  },
  "hsl": {
    "h": 347.547,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41504,
    "c": 0.14034,
    "h": 14.5
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#871D33
secondary
#46B9A2
accent
#E8C540
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871D33

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

Preview Lab → · Contrast checker → · Palette generator →

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