#d22fa8 ≈ Medium Violet Red
#d22fa8 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 18.43% green and 65.88% blue; printed in CMYK it uses 0% cyan, 77.62% magenta, 20% yellow and 17.65% black. Its hue angle is 315.46°, with 64.43% saturation and 50.39% 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.71:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.02.
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.1856 |
Shades
#d22fa8 mixed progressively with black.
Tints
#d22fa8 mixed progressively with white.
Tones
#d22fa8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d22fa8 {
color: #d22fa8;
}
.bg-d22fa8 {
background-color: #d22fa8;
color: #000000;
}
.border-d22fa8 {
border: 2px solid #d22fa8;
}
:root {
--color-primary: #d22fa8;
--color-primary-rgb: 210 47 168;
--color-primary-hsl: 315 64% 50%;
}
.gradient-d22fa8 {
background: linear-gradient(135deg, #d22fa8, #d22f56);
}
.shadow-d22fa8 {
box-shadow: 0 8px 24px rgb(210 47 168 / 0.35);
}
Medium Violet Red
#d22fa8 rgb(210, 47, 168) hsl(315, 64%, 50%) Medium Violet Red
#2fd259 rgb(47, 210, 89) hsl(135, 64%, 50%) Malachite
#a8d22f rgb(168, 210, 47) hsl(75, 64%, 50%) Yellow Green
#2fa8d2 rgb(47, 168, 210) hsl(195, 64%, 50%) Moonstone Blue