#d802ac ≈ Medium Violet Red
#d802ac is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 84.71% red, 0.78% green and 67.45% blue; printed in CMYK it uses 0% cyan, 99.07% magenta, 20.37% yellow and 15.29% black. Its hue angle is 312.34°, with 98.17% saturation and 42.75% 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.64:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.05.
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.1762 |
Shades
#d802ac mixed progressively with black.
Tints
#d802ac mixed progressively with white.
Tones
#d802ac mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d802ac {
color: #d802ac;
}
.bg-d802ac {
background-color: #d802ac;
color: #ffffff;
}
.border-d802ac {
border: 2px solid #d802ac;
}
:root {
--color-primary: #d802ac;
--color-primary-rgb: 216 2 172;
--color-primary-hsl: 312 98% 43%;
}
.gradient-d802ac {
background: linear-gradient(135deg, #d802ac, #d80241);
}
.shadow-d802ac {
box-shadow: 0 8px 24px rgb(216 2 172 / 0.35);
}
Medium Violet Red
#d802ac rgb(216, 2, 172) hsl(312, 98%, 43%) Medium Violet Red
#02d82e rgb(2, 216, 46) hsl(132, 98%, 43%) Lime Green
#acd802 rgb(172, 216, 2) hsl(72, 98%, 43%) Yellow Green
#02acd8 rgb(2, 172, 216) hsl(192, 98%, 43%) Deep Sky Blue