#CC1D8A

A medium, vivid magenta closely aligning with Mediumvioletred.

About #CC1D8A

The precise color #CC1D8A is an excellent choice for modern design projects. 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, 29, and 138.

Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 0% C, 86% M, 32% Y, and 20% K. This makes it a relatively light color when applied to physical surfaces.

When using this color as a background, text legibility must be considered. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#CC1D8A
RGB204, 29, 138
HSL322.6°, 75.1%, 45.7%
CMYK0%, 86%, 32%, 20%
HSV322.6°, 85.8%, 80.0%
LAB46.4, 71.3, -15.7
XYZ29.9, 15.6, 25.5
Decimal13376906

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

5.11:1
Text on #FFFFFF
AA
4.11:1
Text on #000000
AA Large
4.88:1
Text on #F8FAFC
AA
3.49:1
Text on #0F172A
AA Large

CSS Implementation

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

Similar Colors

Mediumvioletred
#C71585