#cc1998 ≈ Medium Violet Red
#cc1998 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 9.8% green and 59.61% blue; printed in CMYK it uses 0% cyan, 87.75% magenta, 25.49% yellow and 20% black. Its hue angle is 317.43°, with 78.17% saturation and 44.9% 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 5.05:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.57.
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.158 |
Shades
#cc1998 mixed progressively with black.
Tints
#cc1998 mixed progressively with white.
Tones
#cc1998 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc1998 {
color: #cc1998;
}
.bg-cc1998 {
background-color: #cc1998;
color: #ffffff;
}
.border-cc1998 {
border: 2px solid #cc1998;
}
:root {
--color-primary: #cc1998;
--color-primary-rgb: 204 25 152;
--color-primary-hsl: 317 78% 45%;
}
.gradient-cc1998 {
background: linear-gradient(135deg, #cc1998, #cc193e);
}
.shadow-cc1998 {
box-shadow: 0 8px 24px rgb(204 25 152 / 0.35);
}
Medium Violet Red
#cc1998 rgb(204, 25, 152) hsl(317, 78%, 45%) Medium Violet Red
#19cc4d rgb(25, 204, 77) hsl(137, 78%, 45%) Lime Green
#98cc19 rgb(152, 204, 25) hsl(77, 78%, 45%) Yellow Green
#1998cc rgb(25, 152, 204) hsl(197, 78%, 45%) Carolina Blue