#df048e ≈ Medium Violet Red
#df048e is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 1.57% green and 55.69% blue; printed in CMYK it uses 0% cyan, 98.21% magenta, 36.32% yellow and 12.55% black. Its hue angle is 322.19°, with 96.48% saturation and 44.51% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 4.62:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.74.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1773 |
Shades
#df048e mixed progressively with black.
Tints
#df048e mixed progressively with white.
Tones
#df048e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-df048e {
color: #df048e;
}
.bg-df048e {
background-color: #df048e;
color: #ffffff;
}
.border-df048e {
border: 2px solid #df048e;
}
:root {
--color-primary: #df048e;
--color-primary-rgb: 223 4 142;
--color-primary-hsl: 322 96% 45%;
}
.gradient-df048e {
background: linear-gradient(135deg, #df048e, #df0421);
}
.shadow-df048e {
box-shadow: 0 8px 24px rgb(223 4 142 / 0.35);
}
Medium Violet Red
#df048e rgb(223, 4, 142) hsl(322, 96%, 45%) Medium Violet Red
#04df55 rgb(4, 223, 85) hsl(142, 96%, 45%) Malachite
#8edf04 rgb(142, 223, 4) hsl(82, 96%, 45%) Yellow Green
#048edf rgb(4, 142, 223) hsl(202, 96%, 45%) Bleu de France