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 keyword | crimson |
|---|---|
| HEX | #DC143C |
| RGB | rgb(220 20 60) |
| HSL | hsl(348 83% 47%) |
| OKLCH | oklch(57.1% 0.222 20.1) |
| White text | 4.99:1 · body text AA Pass |
| Black text | 4.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.
| Colour | HEX | Contrast with Crimson | Body text AA |
|---|---|---|---|
| Ivory Buff | #EBD3A2 | 3.42:1 | Fail |
| Orange Yellow | #FCB315 | 2.76:1 | Fail |
| Rainette Green | #8FA071 | 1.77:1 | Fail |
| Benzol Green | #00978D | 1.38:1 | Fail |
| Blue Violet | #6450A1 | 1.31:1 | Fail |
| Aconite Violet | #A36AA5 | 1.23:1 | Fail |
| Brick Red | #A84222 | 1.21:1 | Fail |
| Eupatorium Purple | #BF5892 | 1.19:1 | Fail |
| Blue | #006EB8 | 1.07:1 | Fail |
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.
- 100#FFF1F1
- 200#FFDAD9
- 300#FFB9B8
- 400#FF898B
- 500#FD4156
- 600#D40036
- 700#A20027
- 800#720019
- 900#46000B
: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