CSS color names · Reds

Crimson color: hex #dc143c, RGB and HSL

Crimson is the CSS keyword crimson, hex #dc143c, rgb(220, 20, 60), hsl(348, 83%, 47%). It is a medium, vivid 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
crimson
Hex
#dc143c
RGB
rgb(220, 20, 60)
HSL
hsl(348, 83%, 47%)
On white
4.99:1 — passes AA for body text
On black
4.21:1 — large text and UI only (3:1)
.example {
  color: crimson;          /* keyword */
  color: #dc143c;          /* hex */
  color: rgb(220, 20, 60); /* rgb */
  color: hsl(348, 83%, 47%); /* hsl */
}

What colors go with crimson

Each match keeps crimson'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 crimson 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.

#14dcb4

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.

#14dc50
#14a0dc

Triadic

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

#3cdc14
#143cdc

Analogous

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

#dc14a0
#dc5014

Tints and shades of crimson

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

Tints (lighter)

#ec3156
#f05a78
#f4839a
#f8acbc
#fbd6dd

Shades (darker)

#b71132
#930d28
#6e0a1e
#490714
#25030a

A UI color palette built from crimson

The eight semantic roles an interface actually uses, derived from crimson 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
#dc143c
secondary
#14dc50
accent
#14a0dc
background
#fdfcfc
surface
#f7f3f4
text
#221114
muted
#8f5662
border
#ecdfe2
Dark mode
primary
#ec2d53
secondary
#2dec66
accent
#2db3ec
background
#1b0e11
surface
#281519
text
#f6f3f4
muted
#b8949b
border
#49272e

Using crimson 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 crimson 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 Crimson?
Crimson is #dc143c. In CSS the keyword crimson, the hex #dc143c, rgb(220, 20, 60) and hsl(348, 83%, 47%) all paint the same color.
What colors go with Crimson?
Its complement is #14dcb4, the split-complementary pair is #14dc50 and #14a0dc, the triadic partners are #3cdc14 and #143cdc, and the analogous neighbors are #dc14a0 and #dc5014. In an interface, use Crimson for most colored elements and one of these for a single accent, at roughly an 80/20 split.
What is the opposite of Crimson on the color wheel?
The opposite (complementary) color is #14dcb4, 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 Crimson for text?
Crimson as text on white has a contrast ratio of 4.99:1, which passes WCAG AA for body text (4.5:1). On black it is 4.21: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.