#cb2c8a ≈ Medium Violet Red
#cb2c8a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 17.25% green and 54.12% blue; printed in CMYK it uses 0% cyan, 78.33% magenta, 32.02% yellow and 20.39% black. Its hue angle is 324.53°, with 64.37% saturation and 48.43% 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 4.92:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.69.
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.1633 |
Shades
#cb2c8a mixed progressively with black.
Tints
#cb2c8a mixed progressively with white.
Tones
#cb2c8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cb2c8a {
color: #cb2c8a;
}
.bg-cb2c8a {
background-color: #cb2c8a;
color: #ffffff;
}
.border-cb2c8a {
border: 2px solid #cb2c8a;
}
:root {
--color-primary: #cb2c8a;
--color-primary-rgb: 203 44 138;
--color-primary-hsl: 325 64% 48%;
}
.gradient-cb2c8a {
background: linear-gradient(135deg, #cb2c8a, #cb2c3a);
}
.shadow-cb2c8a {
box-shadow: 0 8px 24px rgb(203 44 138 / 0.35);
}
Medium Violet Red
#cb2c8a rgb(203, 44, 138) hsl(325, 64%, 48%) Medium Violet Red
#2ccb6d rgb(44, 203, 109) hsl(145, 64%, 48%) Emerald
#8acb2c rgb(138, 203, 44) hsl(85, 64%, 48%) Yellow Green
#2c8acb rgb(44, 138, 203) hsl(205, 64%, 48%) Steel Blue