#871B33#871B33

#871B33 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.142 H 14.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#871B33
RGBrgb(135, 27, 51)
HSLhsl(347, 67%, 32%)
HSVhsv(347, 80%, 53%)
CMYKcmyk(0%, 80%, 62.2%, 47.1%)
CIE-LABlab(29.85, 45.90, 14.01)
CIE-LCHlch(29.85, 47.99, 16.98°)
OKLaboklab(41.33% 0.138 0.0344)
OKLCHoklch(41.33% 0.142 14)
XYZxyz(10.9823, 6.1754, 3.7450)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B33 #1B876F
analogous
#871B69 #871B33 #87391B
triadic
#871B33 #33871B #1B3387
tetradic
#871B33 #69871B #1B876F #391B87
square
#871B33 #69871B #1B876F #391B87
split-complementary
#871B33 #1B8739 #1B6987
monochromatic
#21070C #541120 #871B33 #BA2546 #D94364

Accessibility & contrast

On white

9.40
#871B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#871B33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B33
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B33#FFFFFF#000000##FFFFFF
##871B331.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3833
Deuteranopia (green-blind)
#554E30
Tritanopia (blue-blind)
#940025
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871b33;
/* rgb */ color: rgb(135, 27, 51);
/* oklch */ color: oklch(41.3% 0.142 14.0);
Tailwind
colors: {
  custom: {
    50: '#b0636a',
    500: '#871b33',
    950: '#000000',
  },
}
SCSS
$custom: #871b33;
$custom-light: #b0636a;
$custom-dark: #000000;
JSON
{
  "hex": "#871b33",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 51
  },
  "hsl": {
    "h": 346.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41331,
    "c": 0.14222,
    "h": 14
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#871B33
secondary
#44BAA0
accent
#EAC43E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871B33

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

Preview Lab → · Contrast checker → · Palette generator →

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