#d21c8f ≈ Medium Violet Red
#d21c8f is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 10.98% green and 56.08% blue; printed in CMYK it uses 0% cyan, 86.67% magenta, 31.9% yellow and 17.65% black. Its hue angle is 322.09°, with 76.47% 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.88:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.87.
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.1652 |
Shades
#d21c8f mixed progressively with black.
Tints
#d21c8f mixed progressively with white.
Tones
#d21c8f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d21c8f {
color: #d21c8f;
}
.bg-d21c8f {
background-color: #d21c8f;
color: #ffffff;
}
.border-d21c8f {
border: 2px solid #d21c8f;
}
:root {
--color-primary: #d21c8f;
--color-primary-rgb: 210 28 143;
--color-primary-hsl: 322 76% 47%;
}
.gradient-d21c8f {
background: linear-gradient(135deg, #d21c8f, #d21c34);
}
.shadow-d21c8f {
box-shadow: 0 8px 24px rgb(210 28 143 / 0.35);
}
Medium Violet Red
#d21c8f rgb(210, 28, 143) hsl(322, 76%, 47%) Medium Violet Red
#1cd25f rgb(28, 210, 95) hsl(142, 76%, 47%) Malachite
#8fd21c rgb(143, 210, 28) hsl(82, 76%, 47%) Yellow Green
#1c8fd2 rgb(28, 143, 210) hsl(202, 76%, 47%) Bleu de France