#cd217e ≈ Medium Violet Red
#cd217e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 12.94% green and 49.41% blue; printed in CMYK it uses 0% cyan, 83.9% magenta, 38.54% yellow and 19.61% black. Its hue angle is 327.56°, with 72.27% saturation and 46.67% 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.1:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.09.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1557 |
Shades
#cd217e mixed progressively with black.
Tints
#cd217e mixed progressively with white.
Tones
#cd217e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd217e {
color: #cd217e;
}
.bg-cd217e {
background-color: #cd217e;
color: #ffffff;
}
.border-cd217e {
border: 2px solid #cd217e;
}
:root {
--color-primary: #cd217e;
--color-primary-rgb: 205 33 126;
--color-primary-hsl: 328 72% 47%;
}
.gradient-cd217e {
background: linear-gradient(135deg, #cd217e, #cd2128);
}
.shadow-cd217e {
box-shadow: 0 8px 24px rgb(205 33 126 / 0.35);
}
Medium Violet Red
#cd217e rgb(205, 33, 126) hsl(328, 72%, 47%) Medium Violet Red
#21cd70 rgb(33, 205, 112) hsl(148, 72%, 47%) Emerald
#7ecd21 rgb(126, 205, 33) hsl(88, 72%, 47%) Yellow Green
#217ecd rgb(33, 126, 205) hsl(208, 72%, 47%) Tufts Blue