#cc248a ≈ Medium Violet Red
#cc248a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 14.12% green and 54.12% blue; printed in CMYK it uses 0% cyan, 82.35% magenta, 32.35% yellow and 20% black. Its hue angle is 323.57°, with 70% saturation and 47.06% 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.02:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.06.
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.1593 |
Shades
#cc248a mixed progressively with black.
Tints
#cc248a mixed progressively with white.
Tones
#cc248a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc248a {
color: #cc248a;
}
.bg-cc248a {
background-color: #cc248a;
color: #ffffff;
}
.border-cc248a {
border: 2px solid #cc248a;
}
:root {
--color-primary: #cc248a;
--color-primary-rgb: 204 36 138;
--color-primary-hsl: 324 70% 47%;
}
.gradient-cc248a {
background: linear-gradient(135deg, #cc248a, #cc2436);
}
.shadow-cc248a {
box-shadow: 0 8px 24px rgb(204 36 138 / 0.35);
}
Medium Violet Red
#cc248a rgb(204, 36, 138) hsl(324, 70%, 47%) Medium Violet Red
#24cc66 rgb(36, 204, 102) hsl(144, 70%, 47%) Emerald
#8acc24 rgb(138, 204, 36) hsl(84, 70%, 47%) Yellow Green
#248acc rgb(36, 138, 204) hsl(204, 70%, 47%) Steel Blue