#ff42c5 ≈ Shocking Pink
#ff42c5 is a color from the magenta family, with high lightness and strong saturation. In the RGB model it is made of 100% red, 25.88% green and 77.25% blue; printed in CMYK it uses 0% cyan, 74.12% magenta, 22.75% yellow and 0% black. Its hue angle is 318.41°, with 100% saturation and 62.94% 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.84:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.01.
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.2919 |
Shades
#ff42c5 mixed progressively with black.
Tints
#ff42c5 mixed progressively with white.
Tones
#ff42c5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ff42c5 {
color: #ff42c5;
}
.bg-ff42c5 {
background-color: #ff42c5;
color: #000000;
}
.border-ff42c5 {
border: 2px solid #ff42c5;
}
:root {
--color-primary: #ff42c5;
--color-primary-rgb: 255 66 197;
--color-primary-hsl: 318 100% 63%;
}
.gradient-ff42c5 {
background: linear-gradient(135deg, #ff42c5, #ff4267);
}
.shadow-ff42c5 {
box-shadow: 0 8px 24px rgb(255 66 197 / 0.35);
}
Shocking Pink
#ff42c5 rgb(255, 66, 197) hsl(318, 100%, 63%) Shocking Pink
#42ff7c rgb(66, 255, 124) hsl(138, 100%, 63%) Spring Green
#c5ff42 rgb(197, 255, 66) hsl(78, 100%, 63%) Green Yellow
#42c5ff rgb(66, 197, 255) hsl(198, 100%, 63%) Deep Sky Blue