#cf02ad ≈ Medium Violet Red
#cf02ad is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 0.78% green and 67.84% blue; printed in CMYK it uses 0% cyan, 99.03% magenta, 16.43% yellow and 18.82% black. Its hue angle is 309.95°, with 98.09% saturation and 40.98% 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.92:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.2.
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.1633 |
Shades
#cf02ad mixed progressively with black.
Tints
#cf02ad mixed progressively with white.
Tones
#cf02ad mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf02ad {
color: #cf02ad;
}
.bg-cf02ad {
background-color: #cf02ad;
color: #ffffff;
}
.border-cf02ad {
border: 2px solid #cf02ad;
}
:root {
--color-primary: #cf02ad;
--color-primary-rgb: 207 2 173;
--color-primary-hsl: 310 98% 41%;
}
.gradient-cf02ad {
background: linear-gradient(135deg, #cf02ad, #cf0247);
}
.shadow-cf02ad {
box-shadow: 0 8px 24px rgb(207 2 173 / 0.35);
}
Medium Violet Red
#cf02ad rgb(207, 2, 173) hsl(310, 98%, 41%) Medium Violet Red
#02cf24 rgb(2, 207, 36) hsl(130, 98%, 41%) Lime Green
#adcf02 rgb(173, 207, 2) hsl(70, 98%, 41%) Yellow Green
#02adcf rgb(2, 173, 207) hsl(190, 98%, 41%) Bondi Blue