CSS color names · Reds

Dark Red color: hex #8b0000, RGB and HSL

Dark Red is the CSS keyword darkred, hex #8b0000, rgb(139, 0, 0), hsl(0, 100%, 27%). It is a dark, fully saturated red in the reds family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.

CSS name
darkred
Hex
#8b0000
RGB
rgb(139, 0, 0)
HSL
hsl(0, 100%, 27%)
On white
10.01:1 — passes AA for body text
On black
2.1:1 — fails AA; use as a fill, not text
.example {
  color: darkred;          /* keyword */
  color: #8b0000;          /* hex */
  color: rgb(139, 0, 0); /* rgb */
  color: hsl(0, 100%, 27%); /* hsl */
}

What colors go with dark red

Each match keeps dark red's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside dark red as the primary; the harmony guides explain which rule suits which interface.

Complementary

The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.

Split-complementary

The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.

#008b46
#00468b

Triadic

Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.

Analogous

The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.

#8b0046
#8b4600

Tints and shades of dark red

Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as dark red — these are the hover, pressed, disabled and surface variants a single brand color needs.

Tints (lighter)

#c90000
#ff0808
#ff4545
#ff8383
#ffc1c1

Shades (darker)

#740000
#5d0000
#450000
#2e0000
#170000

A UI color palette built from dark red

The eight semantic roles an interface actually uses, derived from dark red as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.

Light mode
primary
#8b0000
secondary
#008b46
accent
#00468b
background
#fdfcfc
surface
#f7f3f3
text
#221111
muted
#8f5656
border
#ecdfdf
Dark mode
primary
#ff1a1a
secondary
#1aff8c
accent
#1a8cff
background
#1b0e0e
surface
#281515
text
#f6f3f3
muted
#b89494
border
#492727

Using dark red in an interface

Red is spoken for: it means error, danger and destructive actions in almost every interface, so a red brand color needs its status colors chosen with care. Crimson and firebrick read as serious; the salmons and corals are gentle enough for surfaces and tags. Whichever role dark red takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.

What is the hex code for Dark Red?
Dark Red is #8b0000. In CSS the keyword darkred, the hex #8b0000, rgb(139, 0, 0) and hsl(0, 100%, 27%) all paint the same color.
What colors go with Dark Red?
Its complement is #008b8b, the split-complementary pair is #008b46 and #00468b, the triadic partners are #008b00 and #00008b, and the analogous neighbors are #8b0046 and #8b4600. In an interface, use Dark Red for most colored elements and one of these for a single accent, at roughly an 80/20 split.
What is the opposite of Dark Red on the color wheel?
The opposite (complementary) color is #008b8b, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
Can I use Dark Red for text?
Dark Red as text on white has a contrast ratio of 10.01:1, which passes WCAG AA for body text (4.5:1). On black it is 2.1:1, which fails for body text. It works as a text color on light surfaces.

Similar named colors

More reds

We'd like to use Google cookies to understand how Nodlume is used and to measure our advertising. Nothing loads until you choose, and declining does not affect anything in the app.