#C52C92

A medium, moderate magenta closely aligning with Mediumvioletred.

About #C52C92

The hex code #C52C92 represents a beautifully specific shade of magenta. 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 197, 44, and 146.

When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 0% C, 78% M, 26% Y, and 23% K. The HSL representation is 320.0° hue, 63.5% saturation, and 47.3% lightness.

Contrast ratios determine whether this color is safe for typography. Because it is a medium color, it is generally recommended to use #FFFFFF text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#C52C92
RGB197, 44, 146
HSL320.0°, 63.5%, 47.3%
CMYK0%, 78%, 26%, 23%
HSV320.0°, 77.7%, 77.3%
LAB46.6, 67.0, -20.2
XYZ29.1, 15.7, 28.7
Decimal12922002

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

5.06:1
Text on #FFFFFF
AA
4.15:1
Text on #000000
AA Large
4.84:1
Text on #F8FAFC
AA
3.53:1
Text on #0F172A
AA Large

CSS Implementation

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

Similar Colors

Mediumvioletred
#C71585