#d02fa8 ≈ Medium Violet Red
#d02fa8 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 18.43% green and 65.88% blue; printed in CMYK it uses 0% cyan, 77.4% magenta, 19.23% yellow and 18.43% black. Its hue angle is 314.91°, with 63.14% saturation and 50% 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. Black text on this color reaches a contrast ratio of 4.65:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.92.
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.1827 |
Shades
#d02fa8 mixed progressively with black.
Tints
#d02fa8 mixed progressively with white.
Tones
#d02fa8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d02fa8 {
color: #d02fa8;
}
.bg-d02fa8 {
background-color: #d02fa8;
color: #000000;
}
.border-d02fa8 {
border: 2px solid #d02fa8;
}
:root {
--color-primary: #d02fa8;
--color-primary-rgb: 208 47 168;
--color-primary-hsl: 315 63% 50%;
}
.gradient-d02fa8 {
background: linear-gradient(135deg, #d02fa8, #d02f57);
}
.shadow-d02fa8 {
box-shadow: 0 8px 24px rgb(208 47 168 / 0.35);
}
Medium Violet Red
#d02fa8 rgb(208, 47, 168) hsl(315, 63%, 50%) Medium Violet Red
#2fd057 rgb(47, 208, 87) hsl(135, 63%, 50%) Malachite
#a8d02f rgb(168, 208, 47) hsl(75, 63%, 50%) Yellow Green
#2fa8d0 rgb(47, 168, 208) hsl(195, 63%, 50%) Moonstone Blue