#cd218f ≈ Medium Violet Red
#cd218f is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 12.94% green and 56.08% blue; printed in CMYK it uses 0% cyan, 83.9% magenta, 30.24% yellow and 19.61% black. Its hue angle is 321.63°, with 72.27% saturation and 46.67% 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.99:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.38.
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.1605 |
Shades
#cd218f mixed progressively with black.
Tints
#cd218f mixed progressively with white.
Tones
#cd218f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd218f {
color: #cd218f;
}
.bg-cd218f {
background-color: #cd218f;
color: #ffffff;
}
.border-cd218f {
border: 2px solid #cd218f;
}
:root {
--color-primary: #cd218f;
--color-primary-rgb: 205 33 143;
--color-primary-hsl: 322 72% 47%;
}
.gradient-cd218f {
background: linear-gradient(135deg, #cd218f, #cd2139);
}
.shadow-cd218f {
box-shadow: 0 8px 24px rgb(205 33 143 / 0.35);
}
Medium Violet Red
#cd218f rgb(205, 33, 143) hsl(322, 72%, 47%) Medium Violet Red
#21cd5f rgb(33, 205, 95) hsl(142, 72%, 47%) Malachite
#8fcd21 rgb(143, 205, 33) hsl(82, 72%, 47%) Yellow Green
#218fcd rgb(33, 143, 205) hsl(202, 72%, 47%) Bleu de France