#f540cb ≈ Shocking Pink
#f540cb 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 79.61% blue; printed in CMYK it uses 0% cyan, 73.88% magenta, 17.14% yellow and 3.92% black. Its hue angle is 313.92°, 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.48:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.31.
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.2739 |
Shades
#f540cb mixed progressively with black.
Tints
#f540cb mixed progressively with white.
Tones
#f540cb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f540cb {
color: #f540cb;
}
.bg-f540cb {
background-color: #f540cb;
color: #000000;
}
.border-f540cb {
border: 2px solid #f540cb;
}
:root {
--color-primary: #f540cb;
--color-primary-rgb: 245 64 203;
--color-primary-hsl: 314 90% 61%;
}
.gradient-f540cb {
background: linear-gradient(135deg, #f540cb, #f54071);
}
.shadow-f540cb {
box-shadow: 0 8px 24px rgb(245 64 203 / 0.35);
}
Shocking Pink
#f540cb rgb(245, 64, 203) hsl(314, 90%, 61%) Shocking Pink
#40f56a rgb(64, 245, 106) hsl(134, 90%, 61%) Spring Green
#cbf540 rgb(203, 245, 64) hsl(74, 90%, 61%) Electric Lime
#40cbf5 rgb(64, 203, 245) hsl(194, 90%, 61%) Sky Blue