Description
Darkred (read as "dark red") has a hue of 0°, saturation 100% and lightness 27%, which places it in the red family. The "dark" prefix is part of the CSS name, but CSS names are not systematic: for example darkgray (#A9A9A9) is lighter than gray (#808080).
Using darkred in CSS
.title { color: darkred; }
.box { background: darkred; border-color: #8b0000; }
.soft { background: rgb(139 0 0 / 20%); } /* darkred at 20% opacity */Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.
Similar named colors
| Color | HEX | RGB | ΔE 2000 |
|---|---|---|---|
| maroon | #800000 | 128, 0, 0 | 2.2 |
| brown | #a52a2a | 165, 42, 42 | 9.1 |
| firebrick | #b22222 | 178, 34, 34 | 9.5 |
| saddlebrown | #8b4513 | 139, 69, 19 | 14.4 |
| sienna | #a0522d | 160, 82, 45 | 15.9 |
| crimson | #dc143c | 220, 20, 60 | 18.8 |
| red | #ff0000 | 255, 0, 0 | 23.8 |
| indianred | #cd5c5c | 205, 92, 92 | 24.1 |
ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.
Pairs well with
Readability
Contrast with white text: 10.01:1; with black text: 2.10:1. White body text on darkred meets WCAG AA.