#cb217e ≈ Medium Violet Red
#cb217e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 12.94% green and 49.41% blue; printed in CMYK it uses 0% cyan, 83.74% magenta, 37.93% yellow and 20.39% black. Its hue angle is 327.18°, with 72.03% saturation and 46.27% 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.17:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.71.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1529 |
Shades
#cb217e mixed progressively with black.
Tints
#cb217e mixed progressively with white.
Tones
#cb217e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cb217e {
color: #cb217e;
}
.bg-cb217e {
background-color: #cb217e;
color: #ffffff;
}
.border-cb217e {
border: 2px solid #cb217e;
}
:root {
--color-primary: #cb217e;
--color-primary-rgb: 203 33 126;
--color-primary-hsl: 327 72% 46%;
}
.gradient-cb217e {
background: linear-gradient(135deg, #cb217e, #cb2129);
}
.shadow-cb217e {
box-shadow: 0 8px 24px rgb(203 33 126 / 0.35);
}
Medium Violet Red
#cb217e rgb(203, 33, 126) hsl(327, 72%, 46%) Medium Violet Red
#21cb6e rgb(33, 203, 110) hsl(147, 72%, 46%) Emerald
#7ecb21 rgb(126, 203, 33) hsl(87, 72%, 46%) Yellow Green
#217ecb rgb(33, 126, 203) hsl(207, 72%, 46%) Tufts Blue