#CC42A0
A medium, moderate magenta closely aligning with Mediumvioletred.
About #CC42A0
At its core, #CC42A0 is a medium and moderate hue. It is closely associated with the named CSS color Mediumvioletred. In the RGB color space, it consists of 204 red, 66 green, and 160 blue.
Translating this color to physical media requires the CMYK color model. To reproduce this shade on paper, a printer utilizes 0% cyan and 68% magenta inks. With a hue angle of 319.1 degrees, it sits comfortably in the magenta spectrum.
From a UX and accessibility standpoint, contrast is paramount. To prevent eye strain, #000000 text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#CC42A0
RGB204, 66, 160
HSL319.1°, 57.5%, 52.9%
CMYK0%, 68%, 22%, 20%
HSV319.1°, 67.6%, 80.0%
LAB51.0, 63.3, -21.8
XYZ33.2, 19.3, 35.2
Decimal13386400
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
4.33:1
Text on #FFFFFF
AA Large
4.85:1
Text on #000000
AA
4.13:1
Text on #F8FAFC
AA Large
4.13:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #CC42A0;
}
.text-color {
color: #CC42A0;
}
.border-color {
border: 2px solid #CC42A0;
}