#871A35#871A35

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

Color values

HEX#871A35
RGBrgb(135, 26, 53)
HSLhsl(345, 68%, 32%)
HSVhsv(345, 81%, 53%)
CMYKcmyk(0%, 80.7%, 60.7%, 47.1%)
CIE-LABlab(29.78, 46.35, 12.59)
CIE-LCHlch(29.78, 48.03, 15.20°)
OKLaboklab(41.3% 0.1399 0.0312)
OKLCHoklch(41.3% 0.143 12.6)
XYZxyz(11.0048, 6.1484, 3.9748)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A35 #1A876C
analogous
#871A6C #871A35 #87361A
triadic
#871A35 #35871A #1A3587
tetradic
#871A35 #6C871A #1A876C #361A87
square
#871A35 #6C871A #1A876C #361A87
split-complementary
#871A35 #1A8736 #1A6C87
monochromatic
#20060D #541021 #871A35 #BA2449 #DA4167

Accessibility & contrast

On white

9.42
#871A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A35
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A35#FFFFFF#000000##FFFFFF
##871A351.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393835
Deuteranopia (green-blind)
#554E32
Tritanopia (blue-blind)
#940026
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871a35;
/* rgb */ color: rgb(135, 26, 53);
/* oklch */ color: oklch(41.3% 0.143 12.6);
Tailwind
colors: {
  custom: {
    50: '#b0626b',
    500: '#871a35',
    950: '#000000',
  },
}
SCSS
$custom: #871a35;
$custom-light: #b0626b;
$custom-dark: #000000;
JSON
{
  "hex": "#871a35",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 53
  },
  "hsl": {
    "h": 345.138,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41296,
    "c": 0.14328,
    "h": 12.6
  },
  "luminance": 0.06147
}

Semantic roles & 50–950 ramp

primary
#871A35
secondary
#42BA9D
accent
#EBC03D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871A35

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

Preview Lab → · Contrast checker → · Palette generator →

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