Skip to content
Color Codes

CSS named color

DarkRed Color Code

DarkRed is a dark, vivid red with the hex code #8B0000. In RGB it is rgb(139, 0, 0), in HSL hsl(0, 100%, 27%) and in CMYK cmyk(0%, 100%, 100%, 45%).

DarkRed
#8B0000

Color values

In CSS you can write it as the keyword darkred.

White text on DarkRed has a contrast ratio of 10.01:1 and black text 2.10:1, so white text is the more readable choice.

The closest Tailwind CSS color is Red 900 (#7F1D1D).

Use DarkRed in CSS

.element {
  color: darkred;
  background-color: #8b0000;
  border-color: rgb(139, 0, 0);
}

Tints and shades of DarkRed

Ten steps from light to dark at the same hue. Click any swatch to copy it.

Colors that go with DarkRed

Color-wheel harmonies built from #8B0000. Click a swatch to copy it or open the set in the color wheel.

Complementary

Open in color wheel

Opposite hues for maximum contrast and energetic accents.

Neighboring hues for calm, cohesive surfaces.

Three evenly spaced hues for balanced, colorful systems.

Split complementary

Open in color wheel

A base plus the two neighbors of its complement — contrast with less tension.

Text contrast on DarkRed

Aa
White text
10.01:1
AAA
Aa
Black text
2.10:1
Fail
Check in the contrast checker

Colors similar to DarkRed

Palettes with similar colors

Questions about DarkRed

What is the hex code for DarkRed?

The hex code for DarkRed is #8B0000. Its RGB value is rgb(139, 0, 0) and its HSL value is hsl(0, 100%, 27%).

What colors go with DarkRed?

The complementary color of DarkRed is #008A8A. For a softer scheme try the analogous colors #8A0045 and #8A4500; for a balanced three-color scheme use the triadic colors #008A00 and #00008A.

Is DarkRed readable as a text color?

On a white background DarkRed has a contrast ratio of 10.01:1, which passes WCAG AA for normal text (4.5:1). On black it reaches 2.10:1.

More red colors