#da1fa2 ≈ Medium Violet Red
#da1fa2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 85.49% red, 12.16% green and 63.53% blue; printed in CMYK it uses 0% cyan, 85.78% magenta, 25.69% yellow and 14.51% black. Its hue angle is 317.97°, with 75.1% saturation and 48.82% 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 brand accents. Black text on this color reaches a contrast ratio of 4.7:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.15.
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.1849 |
Shades
#da1fa2 mixed progressively with black.
Tints
#da1fa2 mixed progressively with white.
Tones
#da1fa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-da1fa2 {
color: #da1fa2;
}
.bg-da1fa2 {
background-color: #da1fa2;
color: #000000;
}
.border-da1fa2 {
border: 2px solid #da1fa2;
}
:root {
--color-primary: #da1fa2;
--color-primary-rgb: 218 31 162;
--color-primary-hsl: 318 75% 49%;
}
.gradient-da1fa2 {
background: linear-gradient(135deg, #da1fa2, #da1f44);
}
.shadow-da1fa2 {
box-shadow: 0 8px 24px rgb(218 31 162 / 0.35);
}
Medium Violet Red
#da1fa2 rgb(218, 31, 162) hsl(318, 75%, 49%) Medium Violet Red
#1fda57 rgb(31, 218, 87) hsl(138, 75%, 49%) Malachite
#a2da1f rgb(162, 218, 31) hsl(78, 75%, 49%) Yellow Green
#1fa2da rgb(31, 162, 218) hsl(198, 75%, 49%) Carolina Blue