#fb42d2 ≈ Shocking Pink
#fb42d2 is a color from the magenta family, with high lightness and strong saturation. In the RGB model it is made of 98.43% red, 25.88% green and 82.35% blue; printed in CMYK it uses 0% cyan, 73.71% magenta, 16.33% yellow and 1.57% black. Its hue angle is 313.3°, with 95.85% saturation and 62.16% 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.81:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.3.
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.2906 |
Shades
#fb42d2 mixed progressively with black.
Tints
#fb42d2 mixed progressively with white.
Tones
#fb42d2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fb42d2 {
color: #fb42d2;
}
.bg-fb42d2 {
background-color: #fb42d2;
color: #000000;
}
.border-fb42d2 {
border: 2px solid #fb42d2;
}
:root {
--color-primary: #fb42d2;
--color-primary-rgb: 251 66 210;
--color-primary-hsl: 313 96% 62%;
}
.gradient-fb42d2 {
background: linear-gradient(135deg, #fb42d2, #fb4276);
}
.shadow-fb42d2 {
box-shadow: 0 8px 24px rgb(251 66 210 / 0.35);
}
Shocking Pink
#fb42d2 rgb(251, 66, 210) hsl(313, 96%, 62%) Shocking Pink
#42fb6b rgb(66, 251, 107) hsl(133, 96%, 62%) Spring Green
#d2fb42 rgb(210, 251, 66) hsl(73, 96%, 62%) Electric Lime
#42d2fb rgb(66, 210, 251) hsl(193, 96%, 62%) Sky Blue