#cd2f8a ≈ Medium Violet Red
#cd2f8a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 18.43% green and 54.12% blue; printed in CMYK it uses 0% cyan, 77.07% magenta, 32.68% yellow and 19.61% black. Its hue angle is 325.44°, with 62.7% saturation and 49.41% 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.81:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.39.
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.1685 |
Shades
#cd2f8a mixed progressively with black.
Tints
#cd2f8a mixed progressively with white.
Tones
#cd2f8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd2f8a {
color: #cd2f8a;
}
.bg-cd2f8a {
background-color: #cd2f8a;
color: #ffffff;
}
.border-cd2f8a {
border: 2px solid #cd2f8a;
}
:root {
--color-primary: #cd2f8a;
--color-primary-rgb: 205 47 138;
--color-primary-hsl: 325 63% 49%;
}
.gradient-cd2f8a {
background: linear-gradient(135deg, #cd2f8a, #cd2f3b);
}
.shadow-cd2f8a {
box-shadow: 0 8px 24px rgb(205 47 138 / 0.35);
}
Medium Violet Red
#cd2f8a rgb(205, 47, 138) hsl(325, 63%, 49%) Medium Violet Red
#2fcd72 rgb(47, 205, 114) hsl(145, 63%, 49%) Emerald
#8acd2f rgb(138, 205, 47) hsl(85, 63%, 49%) Yellow Green
#2f8acd rgb(47, 138, 205) hsl(205, 63%, 49%) Bleu de France