#d12fac ≈ Shocking Pink
#d12fac is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.96% red, 18.43% green and 67.45% blue; printed in CMYK it uses 0% cyan, 77.51% magenta, 17.7% yellow and 18.04% black. Its hue angle is 313.7°, with 63.78% saturation and 50.2% 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 Shocking Pink (#fc0fc0), ΔE 7.52.
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.1857 |
Shades
#d12fac mixed progressively with black.
Tints
#d12fac mixed progressively with white.
Tones
#d12fac mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d12fac {
color: #d12fac;
}
.bg-d12fac {
background-color: #d12fac;
color: #000000;
}
.border-d12fac {
border: 2px solid #d12fac;
}
:root {
--color-primary: #d12fac;
--color-primary-rgb: 209 47 172;
--color-primary-hsl: 314 64% 50%;
}
.gradient-d12fac {
background: linear-gradient(135deg, #d12fac, #d12f5b);
}
.shadow-d12fac {
box-shadow: 0 8px 24px rgb(209 47 172 / 0.35);
}
Shocking Pink
#d12fac rgb(209, 47, 172) hsl(314, 64%, 50%) Shocking Pink
#2fd154 rgb(47, 209, 84) hsl(134, 64%, 50%) Malachite
#acd12f rgb(172, 209, 47) hsl(74, 64%, 50%) Yellow Green
#2facd1 rgb(47, 172, 209) hsl(194, 64%, 50%) Moonstone Blue