#871A33#871A33

#871A33 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.2% C 0.143 H 13.8°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#871A33
RGBrgb(135, 26, 51)
HSLhsl(346, 68%, 32%)
HSVhsv(346, 81%, 53%)
CMYKcmyk(0%, 80.7%, 62.2%, 47.1%)
CIE-LABlab(29.74, 46.21, 13.86)
CIE-LCHlch(29.74, 48.25, 16.70°)
OKLaboklab(41.25% 0.139 0.034)
OKLCHoklch(41.25% 0.143 13.8)
XYZxyz(10.9597, 6.1303, 3.7375)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A33 #1A876E
analogous
#871A6A #871A33 #87381A
triadic
#871A33 #33871A #1A3387
tetradic
#871A33 #6A871A #1A876E #381A87
square
#871A33 #6A871A #1A876E #381A87
split-complementary
#871A33 #1A8738 #1A6A87
monochromatic
#20060C #541020 #871A33 #BA2446 #DA4164

Accessibility & contrast

On white

9.43
#871A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A33
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A33#FFFFFF#000000##FFFFFF
##871A331.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871a33;
/* rgb */ color: rgb(135, 26, 51);
/* oklch */ color: oklch(41.2% 0.143 13.8);
Tailwind
colors: {
  custom: {
    50: '#b0626a',
    500: '#871a33',
    950: '#000000',
  },
}
SCSS
$custom: #871a33;
$custom-light: #b0626a;
$custom-dark: #000000;
JSON
{
  "hex": "#871a33",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 51
  },
  "hsl": {
    "h": 346.239,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41248,
    "c": 0.14312,
    "h": 13.8
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#871A33
secondary
#42BA9F
accent
#EBC33D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871A33

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

Preview Lab → · Contrast checker → · Palette generator →

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