Crimson
Crimson is a medium, vivid color from the red family. Hex code #DC143C.
Color codes
- CSS name
crimson - HEX
#DC143C - RGB
rgb(220 20 60) - HSL
hsl(348 83% 47%) - HSB / HSV
hsb(348, 91%, 86%) - OKLCH
oklch(57.1% 0.222 20.1) - CMYK
cmyk(0%, 91%, 73%, 14%)
White text
4.98:1 · passes WCAG AA
Black text
4.20:1 · passes WCAG AA for large text only
Shades
Complementary
Analogous
Triadic
About this color
Crimson in CSS and design
Crimson is a medium, vivid color from the red family. Crimson is one of the extended color keywords, which CSS adopted from the X11 color names used on Unix workstations.
Use it in CSS by name or by any of its codes; these all give the same color:
color: crimson;
color: #DC143C;
color: rgb(220 20 60);
color: hsl(348 83% 47%);For text on crimson, white reads best. Check other combinations with the contrast checker, or browse all CSS color names.
More tools
Work with this color
- Color picker and converterPick a color and get HEX, RGB, HSL, HSB, CMYK and OKLCH, plus shades and harmonies.
- Contrast checkerCheck text and background colors against WCAG AA and AAA, and fix failing ones.
- CSS color namesAll 148 named colors with hex codes, shades, contrast and matching palettes.
- Palette generatorBuild a color palette from harmony rules, with shades and CSS variables.
Frequently asked questions
What is the hex code for crimson?
#DC143C. In CSS you can also use the keyword crimson, which works in every browser.
What is crimson in RGB and HSL?
In RGB it is rgb(220 20 60), in HSL hsl(348 83% 47%). For print, cmyk(0%, 91%, 73%, 14%) is a starting point, but CMYK depends on paper and ink, so check with your printer.
Should I use black or white text on crimson?
White text works better: it has a contrast ratio of 4.98:1 and passes WCAG AA. Black text reaches 4.20:1.
Which colors go with crimson?
Its complementary color is #09888E, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #CE1F89 and #B9580E. The palette generator builds more combinations.