Skip to content

#871c13

a dark, electric red · warm · closest name: Dark Red

RGB
135, 28, 19
HSL
5°, 75%, 30%
CMYK
0, 79, 86, 47
Luminance
0.0603

At a glance

Every number on this page in one read: what #871c13 is made of, how bright it looks, and which way it leans.

Hex
#871c13
Hue
red
Saturation
75%
electric
Lightness
30%
dark
Brightness
53%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0603
WCAG relative
Temperature
Warm
14/100 cool
Color family
Red
Tone
Electric
Best ink
White
9.52:1
Closest name
Dark Red
ΔE2000 3.1
Where it sits
Hue5° of 360°
Saturation75%
Lightness30%
Temperature
Warm ← → Cool14% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#871c13
RGBrgb(135, 28, 19)
HSLhsl(5, 75%, 30%)
CMYKcmyk(0%, 79%, 86%, 47%)
LABlab(29.5 44.0 33.6)
LCHlch(29.5 55.4 37.3)
OKLCHoklch(0.409 0.144 29.5)
Decimal8854547
Display P3color(display-p3 0.529 0.110 0.075)

Copy-ready code

/* CSS */
color: #871c13;
background-color: #871c13;
/* Tailwind (arbitrary) */
class="text-[#871c13] bg-[#871c13]"
/* SCSS */
$brand: #871c13;
/* SwiftUI */
Color(red: 0.529, green: 0.110, blue: 0.075)
/* Android */
Color.parseColor("#871c13")
/* Flutter */
Color(0xFF871C13)
/* Python / OpenCV (BGR) */
(19, 28, 135)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #871c13 · 9.52:1
Use #ffffffAAA at every size.
Aa
White text · 9.52:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.21:1
AA fail · AA large fail · AAA fail
Reading the other direction: #871c13 as text scores 9.52:1 on white and 2.21:1 on black.

Accessibility — WCAG contrast

Aa
#871c13 on white: 9.52:1
AA ✓ pass · AA-large · AAA
Aa
#871c13 on black: 2.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3E3610
deuteranopia · #584E0D
tritanopia · #95001B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #871c13 is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF4F3
#F9E8E7
#F4CBC8
#F1A39D
#EA756B
#E3483A
#D72D1E
#B32519
#871c13
#681913
#41100C
Base = 800Lightest = 50 · #FCF4F3Darkest = 950 · #41100C
:root {
  --brand-50: #FCF4F3;
  --brand-100: #F9E8E7;
  --brand-200: #F4CBC8;
  --brand-300: #F1A39D;
  --brand-400: #EA756B;
  --brand-500: #E3483A;
  --brand-600: #D72D1E;
  --brand-700: #B32519;
  --brand-800: #871c13;
  --brand-900: #681913;
  --brand-950: #41100C;
  --brand: #871c13;
  --brand-ink: #ffffff;
}

Colors that work with #871c13

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF5F4
Tinted page background
Border#EDC3C0
Hairlines and dividers
Muted text#9B514B
Captions on the surface
Accent#108A75
Second voice, not a rival
Dark variant#701710
Hover, pressed, headers
Light variant#FCEAE9
Selected rows, tints
Dark surface#241514
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #871c13

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#137E87
Analogous left#871344
Analogous right#875613
Split-complement 1#138756
Split-complement 2#134487
Triadic 1#13871C
Triadic 2#1C1387
Tetradic#448713

RGB percentages

Red52.9%
Green11.0%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta79.3%
Yellow85.9%
Key (black)47.1%

Color previews

#871c13 text on a black background

contrast 2.21:1

Card sample

#871c13 text on a white background

contrast 9.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #871c13;
Background color
Panel with #871c13 background
background-color: #871c13;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #871c13;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(135, 28, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(135, 28, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #871c13;
background: linear-gradient(135deg, #871c13, #876913);

Monochromatic scale

Palettes built from #871c13

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#871c13 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Food and drinkEntertainmentRetailSport
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#871c13, answered

What color is #871c13?

#871c13 is a dark electric red, closest to Dark Red (ΔE2000 3.1). It sits at 5° on the hue wheel with 75% saturation and 30% lightness, which reads as warm.

What is the RGB value of #871c13?

rgb(135, 28, 19) — 135 red, 28 green and 19 blue out of 255, or 52.9% / 11% / 7.5% by channel.

Is #871c13 a light or a dark color?

It is a dark color. Relative luminance is 0.0603 and perceived brightness is 30%, so white text on it reaches 9.52:1.

Should I use black or white text on #871c13?

White. It scores 9.52:1 against #871c13, versus 2.21:1 for black — AAA at any size.

What is the complementary color of #871c13?

#137E87 sits directly opposite on the wheel. Softer options are the split-complements #138756 and #134487, which give the same contrast with far less vibration.

What colors go well with #871c13?

For interface work: #FAF5F4 as the surface, #EDC3C0 for borders, #9B514B for secondary text, #108A75 as an accent and #701710 for hover and pressed states. For a palette, the analogous pair #871344 and #875613 stays calm, while #137E87 is the loudest partner.

What is #871c13 in CMYK for printing?

cmyk(0%, 79%, 86%, 47%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #871c13 warm or cool?

Warm — it scores 14 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #873713; nudged cooler, #891134.

Work with #871c13 in the Color Lab