#f40cc2 ≈ Shocking Pink
#f40cc2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 95.69% red, 4.71% green and 76.08% blue; printed in CMYK it uses 0% cyan, 95.08% magenta, 20.49% yellow and 4.31% black. Its hue angle is 312.93°, with 91.34% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 5.68:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 1.82.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff00cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2339 |
Shades
#f40cc2 mixed progressively with black.
Tints
#f40cc2 mixed progressively with white.
Tones
#f40cc2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f40cc2 {
color: #f40cc2;
}
.bg-f40cc2 {
background-color: #f40cc2;
color: #000000;
}
.border-f40cc2 {
border: 2px solid #f40cc2;
}
:root {
--color-primary: #f40cc2;
--color-primary-rgb: 244 12 194;
--color-primary-hsl: 313 91% 50%;
}
.gradient-f40cc2 {
background: linear-gradient(135deg, #f40cc2, #f40c4e);
}
.shadow-f40cc2 {
box-shadow: 0 8px 24px rgb(244 12 194 / 0.35);
}
Shocking Pink
#f40cc2 rgb(244, 12, 194) hsl(313, 91%, 50%) Shocking Pink
#0cf43e rgb(12, 244, 62) hsl(133, 91%, 50%) Lime
#c2f40c rgb(194, 244, 12) hsl(73, 91%, 50%) Electric Lime
#0cc2f4 rgb(12, 194, 244) hsl(193, 91%, 50%) Deep Sky Blue