#f840dc ≈ Shocking Pink
#f840dc is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 97.25% red, 25.1% green and 86.27% blue; printed in CMYK it uses 0% cyan, 74.19% magenta, 11.29% yellow and 2.75% black. Its hue angle is 309.13°, with 92.93% saturation and 61.18% 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.76:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.22.
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.2879 |
Shades
#f840dc mixed progressively with black.
Tints
#f840dc mixed progressively with white.
Tones
#f840dc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f840dc {
color: #f840dc;
}
.bg-f840dc {
background-color: #f840dc;
color: #000000;
}
.border-f840dc {
border: 2px solid #f840dc;
}
:root {
--color-primary: #f840dc;
--color-primary-rgb: 248 64 220;
--color-primary-hsl: 309 93% 61%;
}
.gradient-f840dc {
background: linear-gradient(135deg, #f840dc, #f84080);
}
.shadow-f840dc {
box-shadow: 0 8px 24px rgb(248 64 220 / 0.35);
}
Shocking Pink
#f840dc rgb(248, 64, 220) hsl(309, 93%, 61%) Shocking Pink
#40f85c rgb(64, 248, 92) hsl(129, 93%, 61%) Spring Green
#dcf840 rgb(220, 248, 64) hsl(69, 93%, 61%) Chartreuse Yellow
#40dcf8 rgb(64, 220, 248) hsl(189, 93%, 61%) Sky Blue