#f940cf ≈ Shocking Pink
#f940cf is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 97.65% red, 25.1% green and 81.18% blue; printed in CMYK it uses 0% cyan, 74.3% magenta, 16.87% yellow and 2.35% black. Its hue angle is 313.62°, with 93.91% saturation and 61.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 call-to-action buttons. Black text on this color reaches a contrast ratio of 6.66:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.78.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff33cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2831 |
Shades
#f940cf mixed progressively with black.
Tints
#f940cf mixed progressively with white.
Tones
#f940cf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f940cf {
color: #f940cf;
}
.bg-f940cf {
background-color: #f940cf;
color: #000000;
}
.border-f940cf {
border: 2px solid #f940cf;
}
:root {
--color-primary: #f940cf;
--color-primary-rgb: 249 64 207;
--color-primary-hsl: 314 94% 61%;
}
.gradient-f940cf {
background: linear-gradient(135deg, #f940cf, #f94072);
}
.shadow-f940cf {
box-shadow: 0 8px 24px rgb(249 64 207 / 0.35);
}
Shocking Pink
#f940cf rgb(249, 64, 207) hsl(314, 94%, 61%) Shocking Pink
#40f96a rgb(64, 249, 106) hsl(134, 94%, 61%) Spring Green
#cff940 rgb(207, 249, 64) hsl(74, 94%, 61%) Electric Lime
#40cff9 rgb(64, 207, 249) hsl(194, 94%, 61%) Sky Blue