#871F35#871F35

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

Color values

HEX#871F35
RGBrgb(135, 31, 53)
HSLhsl(347, 63%, 33%)
HSVhsv(347, 77%, 53%)
CMYKcmyk(0%, 77%, 60.7%, 47.1%)
CIE-LABlab(30.37, 44.69, 13.39)
CIE-LCHlch(30.37, 46.66, 16.68°)
OKLaboklab(41.73% 0.1345 0.033)
OKLCHoklch(41.73% 0.139 13.8)
XYZxyz(11.1254, 6.3895, 4.0149)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F35 #1F8771
analogous
#871F69 #871F35 #873D1F
triadic
#871F35 #35871F #1F3587
tetradic
#871F35 #69871F #1F8771 #3D1F87
square
#871F35 #69871F #1F8771 #3D1F87
split-complementary
#871F35 #1F873D #1F6987
monochromatic
#23080E #551421 #871F35 #B92A49 #D64B68

Accessibility & contrast

On white

9.22
#871F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#871F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F35
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F35#FFFFFF#000000##FFFFFF
##871F351.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3A35
Deuteranopia (green-blind)
#564F32
Tritanopia (blue-blind)
#940028
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871f35;
/* rgb */ color: rgb(135, 31, 53);
/* oklch */ color: oklch(41.7% 0.139 13.8);
Tailwind
colors: {
  custom: {
    50: '#b0646c',
    500: '#871f35',
    950: '#000000',
  },
}
SCSS
$custom: #871f35;
$custom-light: #b0646c;
$custom-dark: #000000;
JSON
{
  "hex": "#871f35",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 53
  },
  "hsl": {
    "h": 347.308,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41733,
    "c": 0.1385,
    "h": 13.8
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#871F35
secondary
#4AB8A1
accent
#E6C342
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871F35

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

Preview Lab → · Contrast checker → · Palette generator →

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