Dark Red Hex Code #8B0000
Dark Red is a dark, strong red with the hex code #8B0000. In RGB it is 139, 0, 0, and in HSL it is 0°, 100%, 27%. It is one of the 148 named colors in CSS, so you can write “darkred” instead of the hex code.
- HEX
- #8B0000
- RGB
- rgb(139, 0, 0)
- HSL
- hsl(0, 100%, 27%)
- HSV
- hsv(0°, 100%, 55%)
- CMYK
- cmyk(0%, 100%, 100%, 45%)
- CSS name
- darkred
CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.
About Dark Red
On a white background Dark Red has a contrast ratio of 10.01:1 (AAA), and on black 2.10:1 (Fail). White text is the better choice on top of it.
It sits on the warm side of the color wheel, a range that tends to feel energetic and appears to advance toward the viewer.
Red draws attention and signals urgency, which is why it is common for alerts, errors and sale tags. Because people strongly associate it with warnings, use it sparingly for anything that is not an alert.
Shades and tints of Dark Red
Tints mix Dark Red with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.
Color harmonies for Dark Red
These schemes are calculated from Dark Red on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.
On the artist’s RYB wheel, the complement of Dark Red is #008B00, close to the named color Green.
Dark Red contrast and accessibility
WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Dark Red scores against white and black.
| Against | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White (#ffffff) | 10.01:1 | ✓ Pass | ✓ Pass | ✓ Pass | ✓ Pass |
| Black (#000000) | 2.10:1 | ✕ Fail | ✕ Fail | ✕ Fail | ✕ Fail |
Dark Red and color blindness
These are approximate previews of how Dark Red can look with the main types of color vision deficiency.
Dark Red changes noticeably.
Dark Red changes noticeably.
Dark Red looks almost the same.
Dark Red changes noticeably.
Gradients with Dark Red
Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.
Dark Red to a lighter tint
background: linear-gradient(135deg, #8b0000 0%, #d19999 100%); Dark Red to its analogous neighbour
background: linear-gradient(135deg, #8b0000 0%, #8b4600 100%); Dark Red to its complement
background: linear-gradient(135deg, #8b0000 0%, #008b8b 100%); Colors similar to Dark Red
How each close match differs from Dark Red.
Use Dark Red in code
.element {
color: #8b0000;
background-color: #8b0000;
border-color: darkred; /* darkred is a valid CSS color name */
} :root {
--color-dark-red: #8b0000;
} <!-- Tailwind arbitrary values -->
<div class="bg-[#8b0000] text-[#8b0000] border-[#8b0000]"></div>
/* Tailwind v4 theme color */
@theme {
--color-dark-red: #8b0000;
} Dark Red questions
What is the hex code for Dark Red?
The hex code for Dark Red is #8B0000. In RGB that is rgb(139, 0, 0), and in HSL it is hsl(0, 100%, 27%).
What is the complementary color of Dark Red?
On the RGB (screen) color wheel, the complement of Dark Red is #008B8B, which is close to Dark Cyan. On the artist’s RYB wheel it is #008B00, close to Green.
Should I use white or black text on Dark Red?
White text. It has a contrast ratio of 10.01:1 against Dark Red, which is WCAG AAA. The other option scores 2.10:1.
Is Dark Red accessible as a text color on white?
Yes. Dark Red on white scores 10.01:1, which passes WCAG AA for normal text (4.5:1) and AAA (7:1).
What are darker and lighter shades of Dark Red?
Mixing Dark Red with black gives #6F0000, #530000, #380000, #1C0000 (20% to 80% black). Mixing it with white gives #A23333, #B96666, #D19999, #E8CCCC (20% to 80% white).