#cc217e ≈ Medium Violet Red
#cc217e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 12.94% green and 49.41% blue; printed in CMYK it uses 0% cyan, 83.82% magenta, 38.24% yellow and 20% black. Its hue angle is 327.37°, with 72.15% saturation and 46.47% 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.14:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.9.
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.1543 |
Shades
#cc217e mixed progressively with black.
Tints
#cc217e mixed progressively with white.
Tones
#cc217e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc217e {
color: #cc217e;
}
.bg-cc217e {
background-color: #cc217e;
color: #ffffff;
}
.border-cc217e {
border: 2px solid #cc217e;
}
:root {
--color-primary: #cc217e;
--color-primary-rgb: 204 33 126;
--color-primary-hsl: 327 72% 46%;
}
.gradient-cc217e {
background: linear-gradient(135deg, #cc217e, #cc2128);
}
.shadow-cc217e {
box-shadow: 0 8px 24px rgb(204 33 126 / 0.35);
}
Medium Violet Red
#cc217e rgb(204, 33, 126) hsl(327, 72%, 46%) Medium Violet Red
#21cc6f rgb(33, 204, 111) hsl(147, 72%, 46%) Emerald
#7ecc21 rgb(126, 204, 33) hsl(87, 72%, 46%) Yellow Green
#217ecc rgb(33, 126, 204) hsl(207, 72%, 46%) Tufts Blue