Dark red color (#8B0000)
#8B0000 (Dark red) is a dark red colour. It is rgb(139, 0, 0) in RGB and hsl(0, 100%, 27%) in HSL. Text in white reads better on it: the contrast is 10.01:1 against white and 2.10:1 against black.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#8B0000}:\quad R=\mathrm{8B}_{16}=139,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{00}_{16}=0 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
0^\circ + 180^\circ = 180^\circ ;\Rightarrow; \mathrm{#008B8B} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#8B0000} = \mathrm{rgb}(139, 0, 0) \]
\[ \mathrm{#8B0000}:\quad R=\mathrm{8B}_{16}=139,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{00}_{16}=0 \]
\[ H=0^\circ,\quad S=100\%,\quad L=27\% \]
\[ 0^\circ + 180^\circ = 180^\circ ;\Rightarrow; \mathrm{#008B8B} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 10.01:1\ \text{(on white)} \]Dark red in every colour format
| Format | Value |
|---|---|
| HEX | #8B0000 |
| RGB | rgb(139, 0, 0) |
| RGB (percent) | rgb(54.5%, 0.0%, 0.0%) |
| HSL | hsl(0, 100%, 27%) |
| HSV / HSB | hsv(0, 100%, 55%) |
| CMYK | cmyk(0%, 100%, 100%, 45%) |
| Decimal | 9109504 |
| Description | dark red |
| CSS name | darkred |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 10.01:1 | pass | pass | pass | pass |
| Black text | 2.10:1 | fail | fail | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #170000 #2E0000 #460000 #5D0000 #740000 |
| This colour | #8B0000 |
| Tints (mixed with white) | #9E2B2B #B25555 #C58080 #D8AAAA #ECD5D5 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #383000 | 56 |
| Deuteranopia | #574C00 | 55 |
| Tritanopia | #9A0004 | 6 |
| Grayscale | #424242 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Maroon | #800000 |
| Firebrick | #B22222 |
| Brown | #A52A2A |
| Saddle brown | #8B4513 |
Questions
What is the RGB value of #8B0000?
rgb(139, 0, 0): red 139, green 0, blue 0.
What is the HSL value of #8B0000?
hsl(0, 100%, 27%): a hue of 0°, 100% saturation and 27% lightness.
What is the complementary colour of #8B0000?
#008B8B, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #74FFFF.
Should I use white or black text on #8B0000?
White. White gives 10.01:1 and black 2.10:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #8B0000?
cmyk(0%, 100%, 100%, 45%). This is a simple formula conversion; printed colours depend on the printer profile.
Is #8B0000 a named colour?
Yes: it is the CSS colour name "darkred".