#D31D6D
A medium, vivid magenta closely aligning with Mediumvioletred.
About #D31D6D
When working with digital screens, the color #D31D6D is rendered by mixing light. If you're using CSS, you might find it aligns closely with Mediumvioletred. This translates to an RGB value of rgb(211, 29, 109).
For print applications, it's crucial to understand its CMYK makeup. The color uses 0% Cyan, 86% Magenta, 48% Yellow, and 17% Black. With a hue angle of 333.6 degrees, it sits comfortably in the magenta spectrum.
When using this color as a background, text legibility must be considered. To prevent eye strain, #FFFFFF text pairs best with this hex code. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#D31D6D
RGB211, 29, 109
HSL333.6°, 75.8%, 47.1%
CMYK0%, 86%, 48%, 17%
HSV333.6°, 86.3%, 82.7%
LAB46.8, 70.2, 2.8
XYZ30.1, 15.8, 15.9
Decimal13835629
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
5.04:1
Text on #FFFFFF
AA
4.17:1
Text on #000000
AA Large
4.82:1
Text on #F8FAFC
AA
3.54:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #D31D6D;
}
.text-color {
color: #D31D6D;
}
.border-color {
border: 2px solid #D31D6D;
}