#cc2187 ≈ Medium Violet Red
#cc2187 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 52.94% blue; printed in CMYK it uses 0% cyan, 83.82% magenta, 33.82% yellow and 20% black. Its hue angle is 324.21°, 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.08:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.81.
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.1567 |
Shades
#cc2187 mixed progressively with black.
Tints
#cc2187 mixed progressively with white.
Tones
#cc2187 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc2187 {
color: #cc2187;
}
.bg-cc2187 {
background-color: #cc2187;
color: #ffffff;
}
.border-cc2187 {
border: 2px solid #cc2187;
}
:root {
--color-primary: #cc2187;
--color-primary-rgb: 204 33 135;
--color-primary-hsl: 324 72% 46%;
}
.gradient-cc2187 {
background: linear-gradient(135deg, #cc2187, #cc2132);
}
.shadow-cc2187 {
box-shadow: 0 8px 24px rgb(204 33 135 / 0.35);
}
Medium Violet Red
#cc2187 rgb(204, 33, 135) hsl(324, 72%, 46%) Medium Violet Red
#21cc66 rgb(33, 204, 102) hsl(144, 72%, 46%) Emerald
#87cc21 rgb(135, 204, 33) hsl(84, 72%, 46%) Yellow Green
#2187cc rgb(33, 135, 204) hsl(204, 72%, 46%) Steel Blue