#c52e8a ≈ Medium Violet Red
#c52e8a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 77.25% red, 18.04% green and 54.12% blue; printed in CMYK it uses 0% cyan, 76.65% magenta, 29.95% yellow and 22.75% black. Its hue angle is 323.44°, with 62.14% saturation and 47.65% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and brand accents. White text on this color reaches a contrast ratio of 5.08:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.2.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1566 |
Shades
#c52e8a mixed progressively with black.
Tints
#c52e8a mixed progressively with white.
Tones
#c52e8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c52e8a {
color: #c52e8a;
}
.bg-c52e8a {
background-color: #c52e8a;
color: #ffffff;
}
.border-c52e8a {
border: 2px solid #c52e8a;
}
:root {
--color-primary: #c52e8a;
--color-primary-rgb: 197 46 138;
--color-primary-hsl: 323 62% 48%;
}
.gradient-c52e8a {
background: linear-gradient(135deg, #c52e8a, #c52e3f);
}
.shadow-c52e8a {
box-shadow: 0 8px 24px rgb(197 46 138 / 0.35);
}
Medium Violet Red
#c52e8a rgb(197, 46, 138) hsl(323, 62%, 48%) Medium Violet Red
#2ec569 rgb(46, 197, 105) hsl(143, 62%, 48%) Emerald
#8ac52e rgb(138, 197, 46) hsl(83, 62%, 48%) Yellow Green
#2e8ac5 rgb(46, 138, 197) hsl(203, 62%, 48%) Steel Blue