#cc18a2 ≈ Medium Violet Red
#cc18a2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 9.41% green and 63.53% blue; printed in CMYK it uses 0% cyan, 88.24% magenta, 20.59% yellow and 20% black. Its hue angle is 314°, with 78.95% saturation and 44.71% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 4.98:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.38.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.161 |
Shades
#cc18a2 mixed progressively with black.
Tints
#cc18a2 mixed progressively with white.
Tones
#cc18a2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc18a2 {
color: #cc18a2;
}
.bg-cc18a2 {
background-color: #cc18a2;
color: #ffffff;
}
.border-cc18a2 {
border: 2px solid #cc18a2;
}
:root {
--color-primary: #cc18a2;
--color-primary-rgb: 204 24 162;
--color-primary-hsl: 314 79% 45%;
}
.gradient-cc18a2 {
background: linear-gradient(135deg, #cc18a2, #cc1848);
}
.shadow-cc18a2 {
box-shadow: 0 8px 24px rgb(204 24 162 / 0.35);
}
Medium Violet Red
#cc18a2 rgb(204, 24, 162) hsl(314, 79%, 45%) Medium Violet Red
#18cc42 rgb(24, 204, 66) hsl(134, 79%, 45%) Lime Green
#a2cc18 rgb(162, 204, 24) hsl(74, 79%, 45%) Yellow Green
#18a2cc rgb(24, 162, 204) hsl(194, 79%, 45%) Bondi Blue