#cd2c8a ≈ Medium Violet Red
#cd2c8a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 17.25% green and 54.12% blue; printed in CMYK it uses 0% cyan, 78.54% magenta, 32.68% yellow and 19.61% black. Its hue angle is 324.97°, with 64.66% saturation and 48.82% 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 4.86:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.03.
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.1662 |
Shades
#cd2c8a mixed progressively with black.
Tints
#cd2c8a mixed progressively with white.
Tones
#cd2c8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd2c8a {
color: #cd2c8a;
}
.bg-cd2c8a {
background-color: #cd2c8a;
color: #ffffff;
}
.border-cd2c8a {
border: 2px solid #cd2c8a;
}
:root {
--color-primary: #cd2c8a;
--color-primary-rgb: 205 44 138;
--color-primary-hsl: 325 65% 49%;
}
.gradient-cd2c8a {
background: linear-gradient(135deg, #cd2c8a, #cd2c39);
}
.shadow-cd2c8a {
box-shadow: 0 8px 24px rgb(205 44 138 / 0.35);
}
Medium Violet Red
#cd2c8a rgb(205, 44, 138) hsl(325, 65%, 49%) Medium Violet Red
#2ccd6f rgb(44, 205, 111) hsl(145, 65%, 49%) Emerald
#8acd2c rgb(138, 205, 44) hsl(85, 65%, 49%) Yellow Green
#2c8acd rgb(44, 138, 205) hsl(205, 65%, 49%) Bleu de France