crimson color code
The hex code for crimson is #DC143C, which is rgb(220, 20, 60) in RGB and cmyk(0%, 91%, 73%, 14%) in CMYK. It's a medium, rich red. It is a built-in CSS colour, so you can also write it as “crimson”.
Build a full palette from it: open in the palette generator.
Move the sliders to find a lighter, darker or softer crimson; the codes update as you go.
Crimson colour codes
| HEX | #DC143C |
|---|---|
| RGB | rgb(220, 20, 60) |
| HSL | hsl(348, 83%, 47%) |
| HSV / HSB | hsv(348, 91%, 86%) |
| CMYK | cmyk(0%, 91%, 73%, 14%) |
| Decimal | 14423100 |
| CSS keyword | crimson |
About crimson
Crimson sits at a hue of 348° on the colour wheel, with 83% saturation and 47% lightness. That makes it a warm colour: warm colours feel energetic and inviting and appear to come forward on a page.
The word comes from kermes, an insect once used to make red dye.
For text, white reads better on crimson. Crimson as text on a white background has a contrast ratio of 4.98:1, which passes the WCAG AA rule for body text (4.5:1). On black it is 4.2:1, which fails AA for body text.
Tints and shades of crimson
Tints mix crimson with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.
Colours that go with crimson
Complementary — opposite on the colour wheel: maximum contrast
Analogous — neighbours 30° either side: calm and natural
Triadic — three hues 120° apart: lively but balanced
Split complementary — the two neighbours of the complement: contrast with less tension
Tetradic — four hues 90° apart: rich, use one as the main colour
Crimson text contrast
| Combination | Ratio | AA normal (4.5:1) | AA large (3:1) | AAA (7:1) |
|---|---|---|---|---|
| crimson on white | 4.98:1 | pass | pass | fail |
| crimson on black | 4.2:1 | fail | pass | fail |
Check crimson against any other colour in the contrast checker.
How crimson looks with colour blindness
Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.
Use crimson in code
.crimson {
color: crimson;
background-color: #dc143c;
border-color: rgb(220, 20, 60);
}Frequently asked questions
What is the hex code for crimson?
Crimson is #DC143C (lowercase #dc143c). It's the official value of the CSS keyword “crimson”.
What is crimson in RGB, HSL and CMYK?
RGB: rgb(220, 20, 60). HSL: hsl(348, 83%, 47%). CMYK: cmyk(0%, 91%, 73%, 14%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.
What colours go with crimson?
Its complementary colour is #14DCB4 (close to medium aquamarine), which gives the strongest contrast. For a calmer look, use the analogous colours #DC14A0 and #DC5014, or the triadic pair #3CDC14 and #143CDC. Tints and shades of crimson itself always work together.
Is crimson a warm or cool colour?
Crimson has a hue of 348°, which makes it warm.
Should I use black or white text on crimson?
White. Black text on crimson has a contrast ratio of 4.2:1 and white text has 4.98:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
How do I use crimson in CSS?
Write color: crimson; or color: #dc143c; — both give the same colour. Named colours work in every browser.