#f042cd ≈ Shocking Pink
#f042cd is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 94.12% red, 25.88% green and 80.39% blue; printed in CMYK it uses 0% cyan, 72.5% magenta, 14.58% yellow and 5.88% black. Its hue angle is 312.07°, with 85.29% saturation and 60% 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.37:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.7.
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.2683 |
Shades
#f042cd mixed progressively with black.
Tints
#f042cd mixed progressively with white.
Tones
#f042cd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f042cd {
color: #f042cd;
}
.bg-f042cd {
background-color: #f042cd;
color: #000000;
}
.border-f042cd {
border: 2px solid #f042cd;
}
:root {
--color-primary: #f042cd;
--color-primary-rgb: 240 66 205;
--color-primary-hsl: 312 85% 60%;
}
.gradient-f042cd {
background: linear-gradient(135deg, #f042cd, #f04276);
}
.shadow-f042cd {
box-shadow: 0 8px 24px rgb(240 66 205 / 0.35);
}
Shocking Pink
#f042cd rgb(240, 66, 205) hsl(312, 85%, 60%) Shocking Pink
#42f065 rgb(66, 240, 101) hsl(132, 85%, 60%) Spring Green
#cdf042 rgb(205, 240, 66) hsl(72, 85%, 60%) Electric Lime
#42cdf0 rgb(66, 205, 240) hsl(192, 85%, 60%) Sky Blue