#CC42A8

A medium, moderate magenta closely aligning with Mediumvioletred.

About #CC42A8

When working with digital screens, the color #CC42A8 is rendered by mixing light. It is closely associated with the named CSS color Mediumvioletred. To achieve this exact tint on a monitor, you would use an RGB mix of 204, 66, and 168.

When sending designs containing this color to a printer, the CMYK values come into play. The color uses 0% Cyan, 68% Magenta, 18% Yellow, and 20% Black. The HSL representation is 315.7° hue, 57.5% saturation, and 52.9% lightness.

When using this color as a background, text legibility must be considered. Mathematical luminance calculations suggest that #000000 text provides the most optimal reading experience. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#CC42A8
RGB204, 66, 168
HSL315.7°, 57.5%, 52.9%
CMYK0%, 68%, 18%, 20%
HSV315.7°, 67.6%, 80.0%
LAB51.3, 64.4, -26.0
XYZ33.9, 19.6, 39.0
Decimal13386408

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

4.28:1
Text on #FFFFFF
AA Large
4.91:1
Text on #000000
AA
4.09:1
Text on #F8FAFC
AA Large
4.18:1
Text on #0F172A
AA Large

CSS Implementation

.bg-color { background-color: #CC42A8; }
.text-color { color: #CC42A8; }
.border-color { border: 2px solid #CC42A8; }

Similar Colors

Mediumvioletred
#C71585