Dark red #8B0000
Dark red is one of the named colours in CSS, written darkred. White text reaches 10.01:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | darkred |
|---|---|
| HEX | #8B0000 |
| RGB | rgb(139 0 0) |
| HSL | hsl(0 100% 27%) |
| OKLCH | oklch(40.0% 0.164 29.2) |
| White text | 10.01:1 · body text AA Pass |
| Black text | 2.10:1 · body text AA Fail |
Colours that go with Dark red
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Vandyke Red (#82241F), close. These are the colours Wada paired it with, ranked by their contrast with Dark red itself.
| Colour | HEX | Contrast with Dark red | Body text AA |
|---|---|---|---|
| Turquoise Green | #B5DECC | 6.81:1 | Pass |
| Pale King's Blue | #A7D4E4 | 6.28:1 | Pass |
| Yellow Orange | #F99D1B | 4.70:1 | Pass |
| Sea Green | #00B49B | 3.81:1 | Fail |
| Citrine | #B09F36 | 3.75:1 | Fail |
| Spinel Red | #F27291 | 3.62:1 | Fail |
| Dull Viridian Green | #009465 | 2.59:1 | Fail |
| Violet | #4F4086 | 1.15:1 | Fail |
| Red Violet | #59256A | 1.11:1 | Fail |
| Slate Color | #34454C | 1.00:1 | Fail |
Palettes with Vandyke Red
Shades and tints of Dark red
Nine lightness steps in OKLCH that keep the hue of Dark red. Chroma is reduced only where sRGB cannot show it.
- 100#FFF2EF
- 200#FFDBD5
- 300#FFBAAF
- 400#FF8B7B
- 500#E56454
- 600#BE4033
- 700#9C1C14
- 800#740000
- 900#470000
:root {
--darkred-100: #FFF2EF;
--darkred-200: #FFDBD5;
--darkred-300: #FFBAAF;
--darkred-400: #FF8B7B;
--darkred-500: #E56454;
--darkred-600: #BE4033;
--darkred-700: #9C1C14;
--darkred-800: #740000;
--darkred-900: #470000;
}
Text that keeps Dark red on screen
Text #8B0000 on #FFF2EF reaches 9.15:1, which passes WCAG AA for body text. Check it on a dashboard