#d20fac ≈ Medium Violet Red
#d20fac is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 5.88% green and 67.45% blue; printed in CMYK it uses 0% cyan, 92.86% magenta, 18.1% yellow and 17.65% black. Its hue angle is 311.69°, with 86.67% saturation and 44.12% 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. 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 7.
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.1702 |
Shades
#d20fac mixed progressively with black.
Tints
#d20fac mixed progressively with white.
Tones
#d20fac mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d20fac {
color: #d20fac;
}
.bg-d20fac {
background-color: #d20fac;
color: #ffffff;
}
.border-d20fac {
border: 2px solid #d20fac;
}
:root {
--color-primary: #d20fac;
--color-primary-rgb: 210 15 172;
--color-primary-hsl: 312 87% 44%;
}
.gradient-d20fac {
background: linear-gradient(135deg, #d20fac, #d20f4b);
}
.shadow-d20fac {
box-shadow: 0 8px 24px rgb(210 15 172 / 0.35);
}
Medium Violet Red
#d20fac rgb(210, 15, 172) hsl(312, 87%, 44%) Medium Violet Red
#0fd235 rgb(15, 210, 53) hsl(132, 87%, 44%) Lime Green
#acd20f rgb(172, 210, 15) hsl(72, 87%, 44%) Yellow Green
#0facd2 rgb(15, 172, 210) hsl(192, 87%, 44%) Bondi Blue