#f504ac ≈ Shocking Pink
#f504ac is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 96.08% red, 1.57% green and 67.45% blue; printed in CMYK it uses 0% cyan, 98.37% magenta, 29.8% yellow and 3.92% black. Its hue angle is 318.17°, with 96.79% saturation and 48.82% 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 5.5:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.32.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff0099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2248 |
Shades
#f504ac mixed progressively with black.
Tints
#f504ac mixed progressively with white.
Tones
#f504ac mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f504ac {
color: #f504ac;
}
.bg-f504ac {
background-color: #f504ac;
color: #000000;
}
.border-f504ac {
border: 2px solid #f504ac;
}
:root {
--color-primary: #f504ac;
--color-primary-rgb: 245 4 172;
--color-primary-hsl: 318 97% 49%;
}
.gradient-f504ac {
background: linear-gradient(135deg, #f504ac, #f50434);
}
.shadow-f504ac {
box-shadow: 0 8px 24px rgb(245 4 172 / 0.35);
}
Shocking Pink
#f504ac rgb(245, 4, 172) hsl(318, 97%, 49%) Shocking Pink
#04f54d rgb(4, 245, 77) hsl(138, 97%, 49%) Lime
#acf504 rgb(172, 245, 4) hsl(78, 97%, 49%) Spring Bud
#04acf5 rgb(4, 172, 245) hsl(198, 97%, 49%) Carolina Blue