#df27a2 ≈ Shocking Pink
#df27a2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 15.29% green and 63.53% blue; printed in CMYK it uses 0% cyan, 82.51% magenta, 27.35% yellow and 12.55% black. Its hue angle is 319.89°, with 74.19% saturation and 51.37% 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.95:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.17.
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.1975 |
Shades
#df27a2 mixed progressively with black.
Tints
#df27a2 mixed progressively with white.
Tones
#df27a2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-df27a2 {
color: #df27a2;
}
.bg-df27a2 {
background-color: #df27a2;
color: #000000;
}
.border-df27a2 {
border: 2px solid #df27a2;
}
:root {
--color-primary: #df27a2;
--color-primary-rgb: 223 39 162;
--color-primary-hsl: 320 74% 51%;
}
.gradient-df27a2 {
background: linear-gradient(135deg, #df27a2, #df2746);
}
.shadow-df27a2 {
box-shadow: 0 8px 24px rgb(223 39 162 / 0.35);
}
Shocking Pink
#df27a2 rgb(223, 39, 162) hsl(320, 74%, 51%) Shocking Pink
#27df64 rgb(39, 223, 100) hsl(140, 74%, 51%) Malachite
#a2df27 rgb(162, 223, 39) hsl(80, 74%, 51%) Yellow Green
#27a2df rgb(39, 162, 223) hsl(200, 74%, 51%) Carolina Blue