#d302aa ≈ Medium Violet Red
#d302aa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 0.78% green and 66.67% blue; printed in CMYK it uses 0% cyan, 99.05% magenta, 19.43% yellow and 17.25% black. Its hue angle is 311.77°, with 98.12% saturation and 41.76% 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.82:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.63.
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.1679 |
Shades
#d302aa mixed progressively with black.
Tints
#d302aa mixed progressively with white.
Tones
#d302aa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d302aa {
color: #d302aa;
}
.bg-d302aa {
background-color: #d302aa;
color: #ffffff;
}
.border-d302aa {
border: 2px solid #d302aa;
}
:root {
--color-primary: #d302aa;
--color-primary-rgb: 211 2 170;
--color-primary-hsl: 312 98% 42%;
}
.gradient-d302aa {
background: linear-gradient(135deg, #d302aa, #d30241);
}
.shadow-d302aa {
box-shadow: 0 8px 24px rgb(211 2 170 / 0.35);
}
Medium Violet Red
#d302aa rgb(211, 2, 170) hsl(312, 98%, 42%) Medium Violet Red
#02d32b rgb(2, 211, 43) hsl(132, 98%, 42%) Lime Green
#aad302 rgb(170, 211, 2) hsl(72, 98%, 42%) Yellow Green
#02aad3 rgb(2, 170, 211) hsl(192, 98%, 42%) Bondi Blue