Palettes / Colors / #872012
#872012 — Red
#872012 is a red color we call Red, closest to the named color DarkRed (#8B0000). It belongs to the red family.
Color name
Closest CSS keyword: darkred (#8B0000) — not an exact match. CSS darkred gives you #8B0000, a different color; use #872012 when you need this exact shade.
Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.
#872012 is a warm red color associated with energy, passion and urgency. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.
Its strongest partner is its complement #127987; it also sits naturally between #87123F and #875A12. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #872012 |
|---|---|
| RGB | 135, 32, 18 |
| HSL | 7°, 76%, 30% |
| HSV | 7°, 87%, 53% |
| CMYK | 0%, 76%, 87%, 47% |
| XYZ | 10.62, 6.23, 1.21 |
| Yxy | 6.23, 0.5879, 0.3448 |
| CIE-Lab | 29.98, 42.62, 34.59 |
| Hunter Lab | 24.96, 34.14, 13.73 |
RGB & CMYK percentages
Red 53% · Green 13% · Blue 7%
Cyan 0% · Magenta 76% · Yellow 87% · Key 47%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #872012
.text { color: #872012; }
.background { background-color: #872012; }
.border { border: 3px solid #872012; }
.text-rgb { color: rgb(135, 32, 18); }
.text-hsl { color: hsl(7, 76%, 30%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #872012; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(135, 32, 18, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #872012; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(135, 32, 18, 0.8); }
HTML: <p style="color:#872012">Text here</p> · <div style="background-color:#872012">Div content here</div>
Shades of #872012
Tints of #872012
Tones of #872012
Color harmonies
Complementary — #127987:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 9.35:1 AAA |
|---|---|
| Against black text | 2.25:1 Fails |
Best text color on #872012: #FFFFFF.
Semi-transparent (opacity) text on #872012
Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:
Smaller body text shows the effect best.
Blended color: · Contrast against #872012: ·
How #872012 looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
Closest design-system colors
The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:
Palettes with a similar color
These palettes use a close neighbour of #872012 rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #872012?
#872012 is Red, a red color (RGB 135, 32, 18). Its closest standard named color is DarkRed.
What is the RGB and HSL of #872012?
#872012 is RGB 135, 32, 18 — HSL 7°, 76%, 30% — CMYK 0%, 76%, 87%, 47%.
What colors go with #872012?
Its complement is #127987; analogous partners are #87123F and #875A12. It also appears in 6+ palettes in our collection.
Can I use #872012 for text?
White text on #872012 has a contrast ratio of 9.35:1 (passes WCAG AA); black text gives 2.25:1.