#cd2b8c ≈ Medium Violet Red
#cd2b8c is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 16.86% green and 54.9% blue; printed in CMYK it uses 0% cyan, 79.02% magenta, 31.71% yellow and 19.61% black. Its hue angle is 324.07°, with 65.32% saturation and 48.63% 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.86:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.95.
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.166 |
Shades
#cd2b8c mixed progressively with black.
Tints
#cd2b8c mixed progressively with white.
Tones
#cd2b8c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd2b8c {
color: #cd2b8c;
}
.bg-cd2b8c {
background-color: #cd2b8c;
color: #ffffff;
}
.border-cd2b8c {
border: 2px solid #cd2b8c;
}
:root {
--color-primary: #cd2b8c;
--color-primary-rgb: 205 43 140;
--color-primary-hsl: 324 65% 49%;
}
.gradient-cd2b8c {
background: linear-gradient(135deg, #cd2b8c, #cd2b3b);
}
.shadow-cd2b8c {
box-shadow: 0 8px 24px rgb(205 43 140 / 0.35);
}
Medium Violet Red
#cd2b8c rgb(205, 43, 140) hsl(324, 65%, 49%) Medium Violet Red
#2bcd6c rgb(43, 205, 108) hsl(144, 65%, 49%) Emerald
#8ccd2b rgb(140, 205, 43) hsl(84, 65%, 49%) Yellow Green
#2b8ccd rgb(43, 140, 205) hsl(204, 65%, 49%) Bleu de France