#DB42A8
A medium, moderate magenta closely aligning with Mediumvioletred.
About #DB42A8
At its core, #DB42A8 is a medium and moderate hue. If you're using CSS, you might find it aligns closely with Mediumvioletred. In the RGB color space, it consists of 219 red, 66 green, and 168 blue.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 0% C, 70% M, 23% Y, and 14% K. With a hue angle of 320.0 degrees, it sits comfortably in the magenta spectrum.
Ensuring your text is legible against this background is a key part of web design. Because it is a medium color, it is generally recommended to use #000000 text. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#DB42A8
RGB219, 66, 168
HSL320.0°, 68.0%, 55.9%
CMYK0%, 70%, 23%, 14%
HSV320.0°, 69.9%, 85.9%
LAB53.8, 68.2, -22.0
XYZ38.2, 21.8, 39.2
Decimal14369448
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
3.92:1
Text on #FFFFFF
AA Large
5.36:1
Text on #000000
AA
3.75:1
Text on #F8FAFC
AA Large
4.55:1
Text on #0F172A
AA
CSS Implementation
.bg-color {
background-color: #DB42A8;
}
.text-color {
color: #DB42A8;
}
.border-color {
border: 2px solid #DB42A8;
}