Skip to content

Crimson

Hex #DC143C, rgb(220 20 60). A red CSS named color.

Open in palette generator

Crimson color codes

Click any value to copy it.

HEX
RGB
HSL
HSV
HWB
CMYK
OKLCH
OKLab
Lab
LCH
CSS keyword

About Crimson

Crimson is a medium vivid red with the hex code #DC143C. In RGB it is made of 220 red, 20 green and 60 blue; in HSL its hue is 348°, with 83% saturation and 47% lightness. Its perceptual lightness (OKLCH L) is 57.1%.

It is a CSS named color, so you can write "crimson" anywhere CSS accepts a color. Against white it has a contrast ratio of 4.99:1 and against black 4.21:1, so white text reads better on it and passes WCAG AA for normal text.

Tints, shades and tones

Crimson mixed step by step with white, black and middle gray (#808080).

Tints (with white)

Shades (with black)

Tones (with gray)

Crimson 50-950 scale

A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.

Colors that go with Crimson

Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.

Complementary

Analogous

Triadic

Split complementary

Tetradic

Square

Monochromatic

Contrast and readability

WCAG 2 contrast of Crimson with white and black. The readable text color on Crimson is white.

Crimson textSmall text on white

On white4.99:1

  • AA pass
  • AA Large pass
  • AAA fail
  • UI 3:1 pass

APCA Lc 72

Crimson textSmall text on black

On black4.21:1

  • AA fail
  • AA Large pass
  • AAA fail
  • UI 3:1 pass

APCA Lc -29

White text on Crimson (#FFFFFF)

Test any pair in the contrast checker.

Color blindness preview

How Crimson appears with each type of color vision deficiency (simulated with the Machado model).

  • Protanopia#5C553B
  • Deuteranopia#8B7E35
  • Tritanopia#F20029
  • Protanomaly#8F5039
  • Deuteranomaly#A06D36
  • Tritanomaly#E60034
  • Achromatopsia#6F6F6F

Colors similar to Crimson

The closest named colors by perceptual difference (OKLab).

Use Crimson in CSS and Tailwind

CSS
.crimson {
  color: crimson; /* #DC143C */
  background-color: rgb(220 20 60);
  border-color: oklch(57.1% 0.222 20.1);
}
Tailwind CSS
/* Tailwind CSS v4: bg-crimson-500, text-crimson-700... */
@theme {
  --color-crimson-50: #FFF8F8;
  --color-crimson-100: #FFE8E7;
  --color-crimson-200: #FFCFCD;
  --color-crimson-300: #FFA6A6;
  --color-crimson-400: #FF656D;
  --color-crimson-500: #F6304C;
  --color-crimson-600: #DC143C;
  --color-crimson-700: #B4032D;
  --color-crimson-800: #8F0C24;
  --color-crimson-900: #730E1E;
  --color-crimson-950: #320006;
}

<!-- or the exact color, no config -->
<div class="bg-[#DC143C] text-[#FFFFFF]">…</div>