#cb2e87 ≈ Medium Violet Red
#cb2e87 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 18.04% green and 52.94% blue; printed in CMYK it uses 0% cyan, 77.34% magenta, 33.5% yellow and 20.39% black. Its hue angle is 325.99°, with 63.05% saturation and 48.82% 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.91:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.
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.164 |
Shades
#cb2e87 mixed progressively with black.
Tints
#cb2e87 mixed progressively with white.
Tones
#cb2e87 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cb2e87 {
color: #cb2e87;
}
.bg-cb2e87 {
background-color: #cb2e87;
color: #ffffff;
}
.border-cb2e87 {
border: 2px solid #cb2e87;
}
:root {
--color-primary: #cb2e87;
--color-primary-rgb: 203 46 135;
--color-primary-hsl: 326 63% 49%;
}
.gradient-cb2e87 {
background: linear-gradient(135deg, #cb2e87, #cb2e38);
}
.shadow-cb2e87 {
box-shadow: 0 8px 24px rgb(203 46 135 / 0.35);
}
Medium Violet Red
#cb2e87 rgb(203, 46, 135) hsl(326, 63%, 49%) Medium Violet Red
#2ecb72 rgb(46, 203, 114) hsl(146, 63%, 49%) Emerald
#87cb2e rgb(135, 203, 46) hsl(86, 63%, 49%) Yellow Green
#2e87cb rgb(46, 135, 203) hsl(206, 63%, 49%) Steel Blue