CSS Named Color
Copy-ready color values
HEX
#8B0000RGB
rgb(139, 0, 0)HSL
hsl(0, 100%, 27%)HSV
hsv(0, 100%, 55%)CMYK approx.
cmyk(0, 100, 100, 45)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #8B0000 | |
| RGB | rgb(139, 0, 0) | |
| HSL | hsl(0, 100%, 27%) | |
| HSV | hsv(0, 100%, 55%) | |
| CMYK approx. | cmyk(0, 100, 100, 45) | |
| CSS keyword | darkred |
Contrast and classification
DarkLightness10.01:1Contrast with white2.10:1Contrast with blackMagenta / PurpleColor family
Shade and tint preview
White 10%#971A1A
White 30%#AE4D4D
White 70%#DCB3B3
White 90%#F3E6E6
Black 10%#7D0000
Black 30%#610000
Black 70%#2A0000
Black 90%#0E0000
Harmony palettes
Complementary
#74FFFF#95FFFFAnalogous
#7A0011#8B0000Triadic
#00008B#008B00Split complementary
#8DFFFF#5FD1D1Using Darkred
Darkred works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.
CSS, SCSS, and Tailwind examples
:root {
--color-darkred: #8b0000;
}
.button-primary {
background: var(--color-darkred);
color: #ffffff;
}
$darkred: #8b0000;
// Tailwind arbitrary value
class="bg-[#8b0000] text-white"