#D31D42
A medium, vivid red closely aligning with Crimson.
About #D31D42
The hex code #D31D42 represents a beautifully specific shade of red. It is closely associated with the named CSS color Crimson. To achieve this exact tint on a monitor, you would use an RGB mix of 211, 29, and 66.
When sending designs containing this color to a printer, the CMYK values come into play. The color uses 0% Cyan, 86% Magenta, 69% Yellow, and 17% Black. This makes it a relatively light color when applied to physical surfaces.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. To prevent eye strain, #FFFFFF text pairs best with this hex code. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#D31D42
RGB211, 29, 66
HSL347.8°, 75.8%, 47.1%
CMYK0%, 86%, 69%, 17%
HSV347.8°, 86.3%, 82.7%
LAB45.8, 67.4, 28.1
XYZ28.3, 15.1, 6.6
Decimal13835586
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
5.22:1
Text on #FFFFFF
AA
4.02:1
Text on #000000
AA Large
4.99:1
Text on #F8FAFC
AA
3.42:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #D31D42;
}
.text-color {
color: #D31D42;
}
.border-color {
border: 2px solid #D31D42;
}