#cc218a ≈ Medium Violet Red
#cc218a 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 54.12% blue; printed in CMYK it uses 0% cyan, 83.82% magenta, 32.35% yellow and 20% black. Its hue angle is 323.16°, 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.06:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.82.
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.1576 |
Shades
#cc218a mixed progressively with black.
Tints
#cc218a mixed progressively with white.
Tones
#cc218a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc218a {
color: #cc218a;
}
.bg-cc218a {
background-color: #cc218a;
color: #ffffff;
}
.border-cc218a {
border: 2px solid #cc218a;
}
:root {
--color-primary: #cc218a;
--color-primary-rgb: 204 33 138;
--color-primary-hsl: 323 72% 46%;
}
.gradient-cc218a {
background: linear-gradient(135deg, #cc218a, #cc2134);
}
.shadow-cc218a {
box-shadow: 0 8px 24px rgb(204 33 138 / 0.35);
}
Medium Violet Red
#cc218a rgb(204, 33, 138) hsl(323, 72%, 46%) Medium Violet Red
#21cc63 rgb(33, 204, 99) hsl(143, 72%, 46%) Emerald
#8acc21 rgb(138, 204, 33) hsl(83, 72%, 46%) Yellow Green
#218acc rgb(33, 138, 204) hsl(203, 72%, 46%) Steel Blue