#d21aaf ≈ Medium Violet Red
#d21aaf is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 10.2% green and 68.63% blue; printed in CMYK it uses 0% cyan, 87.62% magenta, 16.67% yellow and 17.65% black. Its hue angle is 311.41°, with 77.97% saturation and 46.27% 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.66:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.57.
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.1754 |
Shades
#d21aaf mixed progressively with black.
Tints
#d21aaf mixed progressively with white.
Tones
#d21aaf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d21aaf {
color: #d21aaf;
}
.bg-d21aaf {
background-color: #d21aaf;
color: #ffffff;
}
.border-d21aaf {
border: 2px solid #d21aaf;
}
:root {
--color-primary: #d21aaf;
--color-primary-rgb: 210 26 175;
--color-primary-hsl: 311 78% 46%;
}
.gradient-d21aaf {
background: linear-gradient(135deg, #d21aaf, #d21a53);
}
.shadow-d21aaf {
box-shadow: 0 8px 24px rgb(210 26 175 / 0.35);
}
Medium Violet Red
#d21aaf rgb(210, 26, 175) hsl(311, 78%, 46%) Medium Violet Red
#1ad23d rgb(26, 210, 61) hsl(131, 78%, 46%) Lime Green
#afd21a rgb(175, 210, 26) hsl(71, 78%, 46%) Yellow Green
#1aafd2 rgb(26, 175, 210) hsl(191, 78%, 46%) Moonstone Blue