#d01fa7 ≈ Medium Violet Red
#d01fa7 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 65.49% blue; printed in CMYK it uses 0% cyan, 85.1% magenta, 19.71% yellow and 18.43% black. Its hue angle is 313.9°, 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.73:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.28.
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.1718 |
Shades
#d01fa7 mixed progressively with black.
Tints
#d01fa7 mixed progressively with white.
Tones
#d01fa7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d01fa7 {
color: #d01fa7;
}
.bg-d01fa7 {
background-color: #d01fa7;
color: #ffffff;
}
.border-d01fa7 {
border: 2px solid #d01fa7;
}
:root {
--color-primary: #d01fa7;
--color-primary-rgb: 208 31 167;
--color-primary-hsl: 314 74% 47%;
}
.gradient-d01fa7 {
background: linear-gradient(135deg, #d01fa7, #d01f4e);
}
.shadow-d01fa7 {
box-shadow: 0 8px 24px rgb(208 31 167 / 0.35);
}
Medium Violet Red
#d01fa7 rgb(208, 31, 167) hsl(314, 74%, 47%) Medium Violet Red
#1fd048 rgb(31, 208, 72) hsl(134, 74%, 47%) Malachite
#a7d01f rgb(167, 208, 31) hsl(74, 74%, 47%) Yellow Green
#1fa7d0 rgb(31, 167, 208) hsl(194, 74%, 47%) Bondi Blue