Darkred — #8B0000
#8B0000 is a dark, vivid red. It is the CSS named color darkred.
Color values
| HEX | #8B0000 |
| RGB | rgb(139, 0, 0) |
| HSL | hsl(0, 100%, 27%) |
| CMYK | cmyk(0%, 100%, 100%, 45%) |
| Decimal | 9109504 |
| CSS | color: #8B0000; |
| Android | 0xFF8B0000 |
| Swift | UIColor(red: 0.545, green: 0.000, blue: 0.000, alpha: 1) |
Accessibility and contrast
| White text on #8B0000 | 10.01:1 — AA pass · AA large pass · AAA pass |
| Black text on #8B0000 | 2.10:1 — AA fail · AA large fail · AAA fail |
| Recommended text color | white |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #8B0000
Each swatch keeps the hue and saturation of #8B0000 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #8B0000
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #8B0000 in code
/* CSS */
.element { color: #8B0000; background-color: #8B0000; }
.element { color: rgb(139 0 0); }
.element { color: hsl(0 100% 27%); }
/* Tailwind arbitrary value */
<div class="bg-[#8B0000] text-white">
/* SCSS variable */
$brand: #8B0000;
Frequently asked questions
What color is #8B0000?
#8B0000 is a dark, vivid red, which CSS calls darkred. Its hue sits at 0° on the color wheel, with 100% saturation and 27% lightness.
What is #8B0000 in RGB?
#8B0000 converts to rgb(139, 0, 0) — 139 red, 0 green and 0 blue.
What is #8B0000 in CMYK?
Approximately cmyk(0%, 100%, 100%, 45%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #8B0000 be white or black?
White gives the better contrast ratio (10.01:1 versus 2.10:1).
What is the complementary color of #8B0000?
#008A8A — the hue directly opposite #8B0000 on the color wheel.