Swatchproof

Crimson #DC143C

Crimson is one of the named colours in CSS, written crimson. White text reaches 4.99:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keywordcrimson
HEX#DC143C
RGBrgb(220 20 60)
HSLhsl(348 83% 47%)
OKLCHoklch(57.1% 0.222 20.1)
White text4.99:1 · body text AA Pass
Black text4.21:1 · body text AA Fail

Colours that go with Crimson

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Spectrum Red (#E31F26), close. These are the colours Wada paired it with, ranked by their contrast with Crimson itself.

ColourHEXContrast with CrimsonBody text AA
Ivory Buff#EBD3A23.42:1Fail
Orange Yellow#FCB3152.76:1Fail
Rainette Green#8FA0711.77:1Fail
Benzol Green#00978D1.38:1Fail
Blue Violet#6450A11.31:1Fail
Aconite Violet#A36AA51.23:1Fail
Brick Red#A842221.21:1Fail
Eupatorium Purple#BF58921.19:1Fail
Blue#006EB81.07:1Fail

Palettes with Spectrum Red

Shades and tints of Crimson

Nine lightness steps in OKLCH that keep the hue of Crimson. Chroma is reduced only where sRGB cannot show it.

:root {
  --crimson-100: #FFF1F1;
  --crimson-200: #FFDAD9;
  --crimson-300: #FFB9B8;
  --crimson-400: #FF898B;
  --crimson-500: #FD4156;
  --crimson-600: #D40036;
  --crimson-700: #A20027;
  --crimson-800: #720019;
  --crimson-900: #46000B;
}

Text that keeps Crimson on screen

Text #DC143C on #FFF1F1 reaches 4.54:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours