#871B35#871B35

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

Color values

HEX#871B35
RGBrgb(135, 27, 53)
HSLhsl(346, 67%, 32%)
HSVhsv(346, 80%, 53%)
CMYKcmyk(0%, 80%, 60.7%, 47.1%)
CIE-LABlab(29.90, 46.04, 12.74)
CIE-LCHlch(29.90, 47.77, 15.47°)
OKLaboklab(41.38% 0.1388 0.0315)
OKLCHoklch(41.38% 0.142 12.8)
XYZxyz(11.0273, 6.1934, 3.9823)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B35 #1B876D
analogous
#871B6B #871B35 #87371B
triadic
#871B35 #35871B #1B3587
tetradic
#871B35 #6B871B #1B876D #371B87
square
#871B35 #6B871B #1B876D #371B87
split-complementary
#871B35 #1B8737 #1B6B87
monochromatic
#21070D #541121 #871B35 #BA2549 #D94367

Accessibility & contrast

On white

9.38
#871B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871B35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B35
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B35#FFFFFF#000000##FFFFFF
##871B351.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.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: #871b35;
/* rgb */ color: rgb(135, 27, 53);
/* oklch */ color: oklch(41.4% 0.142 12.8);
Tailwind
colors: {
  custom: {
    50: '#b0636b',
    500: '#871b35',
    950: '#000000',
  },
}
SCSS
$custom: #871b35;
$custom-light: #b0636b;
$custom-dark: #000000;
JSON
{
  "hex": "#871b35",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 53
  },
  "hsl": {
    "h": 345.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41378,
    "c": 0.14236,
    "h": 12.8
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#871B35
secondary
#44BA9E
accent
#EAC03E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871B35

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

Preview Lab → · Contrast checker → · Palette generator →

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