#d01fa2 ≈ Medium Violet Red
#d01fa2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 12.16% green and 63.53% blue; printed in CMYK it uses 0% cyan, 85.1% magenta, 22.12% yellow and 18.43% black. Its hue angle is 315.59°, with 74.06% saturation and 46.86% 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. White text on this color reaches a contrast ratio of 4.77:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.44.
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.17 |
Shades
#d01fa2 mixed progressively with black.
Tints
#d01fa2 mixed progressively with white.
Tones
#d01fa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d01fa2 {
color: #d01fa2;
}
.bg-d01fa2 {
background-color: #d01fa2;
color: #ffffff;
}
.border-d01fa2 {
border: 2px solid #d01fa2;
}
:root {
--color-primary: #d01fa2;
--color-primary-rgb: 208 31 162;
--color-primary-hsl: 316 74% 47%;
}
.gradient-d01fa2 {
background: linear-gradient(135deg, #d01fa2, #d01f4a);
}
.shadow-d01fa2 {
box-shadow: 0 8px 24px rgb(208 31 162 / 0.35);
}
Medium Violet Red
#d01fa2 rgb(208, 31, 162) hsl(316, 74%, 47%) Medium Violet Red
#1fd04d rgb(31, 208, 77) hsl(136, 74%, 47%) Malachite
#a2d01f rgb(162, 208, 31) hsl(76, 74%, 47%) Yellow Green
#1fa2d0 rgb(31, 162, 208) hsl(196, 74%, 47%) Carolina Blue