#871F33#871F33

#871F33 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.138 H 15.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#871F33
RGBrgb(135, 31, 51)
HSLhsl(348, 63%, 33%)
HSVhsv(348, 77%, 53%)
CMYKcmyk(0%, 77%, 62.2%, 47.1%)
CIE-LABlab(30.33, 44.55, 14.65)
CIE-LCHlch(30.33, 46.90, 18.20°)
OKLaboklab(41.69% 0.1337 0.0359)
OKLCHoklch(41.69% 0.138 15)
XYZxyz(11.0803, 6.3715, 3.7777)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F33 #1F8773
analogous
#871F67 #871F33 #873F1F
triadic
#871F33 #33871F #1F3387
tetradic
#871F33 #67871F #1F8773 #3F1F87
square
#871F33 #67871F #1F8773 #3F1F87
split-complementary
#871F33 #1F873F #1F6787
monochromatic
#23080D #551420 #871F33 #B92A46 #D64B65

Accessibility & contrast

On white

9.23
#871F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#871F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F33
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F33#FFFFFF#000000##FFFFFF
##871F331.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871f33;
/* rgb */ color: rgb(135, 31, 51);
/* oklch */ color: oklch(41.7% 0.138 15.0);
Tailwind
colors: {
  custom: {
    50: '#b0646a',
    500: '#871f33',
    950: '#000000',
  },
}
SCSS
$custom: #871f33;
$custom-light: #b0646a;
$custom-dark: #000000;
JSON
{
  "hex": "#871f33",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 51
  },
  "hsl": {
    "h": 348.462,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41686,
    "c": 0.13839,
    "h": 15
  },
  "luminance": 0.0637
}

Semantic roles & 50–950 ramp

primary
#871F33
secondary
#4AB8A3
accent
#E6C642
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871F33

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

Preview Lab → · Contrast checker → · Palette generator →

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