#f540cf ≈ Shocking Pink
#f540cf is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 96.08% red, 25.1% green and 81.18% blue; printed in CMYK it uses 0% cyan, 73.88% magenta, 15.51% yellow and 3.92% black. Its hue angle is 312.6°, with 90.05% saturation and 60.59% 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.52:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.69.
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.2758 |
Shades
#f540cf mixed progressively with black.
Tints
#f540cf mixed progressively with white.
Tones
#f540cf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f540cf {
color: #f540cf;
}
.bg-f540cf {
background-color: #f540cf;
color: #000000;
}
.border-f540cf {
border: 2px solid #f540cf;
}
:root {
--color-primary: #f540cf;
--color-primary-rgb: 245 64 207;
--color-primary-hsl: 313 90% 61%;
}
.gradient-f540cf {
background: linear-gradient(135deg, #f540cf, #f54074);
}
.shadow-f540cf {
box-shadow: 0 8px 24px rgb(245 64 207 / 0.35);
}
Shocking Pink
#f540cf rgb(245, 64, 207) hsl(313, 90%, 61%) Shocking Pink
#40f566 rgb(64, 245, 102) hsl(133, 90%, 61%) Spring Green
#cff540 rgb(207, 245, 64) hsl(73, 90%, 61%) Electric Lime
#40cff5 rgb(64, 207, 245) hsl(193, 90%, 61%) Sky Blue