#d02c8c ≈ Medium Violet Red
#d02c8c is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 17.25% green and 54.9% blue; printed in CMYK it uses 0% cyan, 78.85% magenta, 32.69% yellow and 18.43% black. Its hue angle is 324.88°, with 65.08% 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.75:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.58.
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.171 |
Shades
#d02c8c mixed progressively with black.
Tints
#d02c8c mixed progressively with white.
Tones
#d02c8c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d02c8c {
color: #d02c8c;
}
.bg-d02c8c {
background-color: #d02c8c;
color: #ffffff;
}
.border-d02c8c {
border: 2px solid #d02c8c;
}
:root {
--color-primary: #d02c8c;
--color-primary-rgb: 208 44 140;
--color-primary-hsl: 325 65% 49%;
}
.gradient-d02c8c {
background: linear-gradient(135deg, #d02c8c, #d02c3a);
}
.shadow-d02c8c {
box-shadow: 0 8px 24px rgb(208 44 140 / 0.35);
}
Medium Violet Red
#d02c8c rgb(208, 44, 140) hsl(325, 65%, 49%) Medium Violet Red
#2cd070 rgb(44, 208, 112) hsl(145, 65%, 49%) Emerald
#8cd02c rgb(140, 208, 44) hsl(85, 65%, 49%) Yellow Green
#2c8cd0 rgb(44, 140, 208) hsl(205, 65%, 49%) Bleu de France