#df0fa2 ≈ Medium Violet Red
#df0fa2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 5.88% green and 63.53% blue; printed in CMYK it uses 0% cyan, 93.27% magenta, 27.35% yellow and 12.55% black. Its hue angle is 317.6°, with 87.39% saturation and 46.67% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. Black text on this color reaches a contrast ratio of 4.73:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.33.
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.1864 |
Shades
#df0fa2 mixed progressively with black.
Tints
#df0fa2 mixed progressively with white.
Tones
#df0fa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-df0fa2 {
color: #df0fa2;
}
.bg-df0fa2 {
background-color: #df0fa2;
color: #000000;
}
.border-df0fa2 {
border: 2px solid #df0fa2;
}
:root {
--color-primary: #df0fa2;
--color-primary-rgb: 223 15 162;
--color-primary-hsl: 318 87% 47%;
}
.gradient-df0fa2 {
background: linear-gradient(135deg, #df0fa2, #df0f3a);
}
.shadow-df0fa2 {
box-shadow: 0 8px 24px rgb(223 15 162 / 0.35);
}
Medium Violet Red
#df0fa2 rgb(223, 15, 162) hsl(318, 87%, 47%) Medium Violet Red
#0fdf4c rgb(15, 223, 76) hsl(138, 87%, 47%) Malachite
#a2df0f rgb(162, 223, 15) hsl(78, 87%, 47%) Yellow Green
#0fa2df rgb(15, 162, 223) hsl(198, 87%, 47%) Carolina Blue