#cf22a4 ≈ Medium Violet Red
#cf22a4 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 13.33% green and 64.31% blue; printed in CMYK it uses 0% cyan, 83.57% magenta, 20.77% yellow and 18.82% black. Its hue angle is 314.91°, with 71.78% saturation and 47.25% 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.75:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.81.
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.1709 |
Shades
#cf22a4 mixed progressively with black.
Tints
#cf22a4 mixed progressively with white.
Tones
#cf22a4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf22a4 {
color: #cf22a4;
}
.bg-cf22a4 {
background-color: #cf22a4;
color: #ffffff;
}
.border-cf22a4 {
border: 2px solid #cf22a4;
}
:root {
--color-primary: #cf22a4;
--color-primary-rgb: 207 34 164;
--color-primary-hsl: 315 72% 47%;
}
.gradient-cf22a4 {
background: linear-gradient(135deg, #cf22a4, #cf224e);
}
.shadow-cf22a4 {
box-shadow: 0 8px 24px rgb(207 34 164 / 0.35);
}
Medium Violet Red
#cf22a4 rgb(207, 34, 164) hsl(315, 72%, 47%) Medium Violet Red
#22cf4d rgb(34, 207, 77) hsl(135, 72%, 47%) Malachite
#a4cf22 rgb(164, 207, 34) hsl(75, 72%, 47%) Yellow Green
#22a4cf rgb(34, 164, 207) hsl(195, 72%, 47%) Bondi Blue