#ff40d1 ≈ Shocking Pink
#ff40d1 is a color from the magenta family, with high lightness and strong saturation. In the RGB model it is made of 100% red, 25.1% green and 81.96% blue; printed in CMYK it uses 0% cyan, 74.9% magenta, 18.04% yellow and 0% black. Its hue angle is 314.45°, with 100% saturation and 62.55% 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.91: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.2953 |
Shades
#ff40d1 mixed progressively with black.
Tints
#ff40d1 mixed progressively with white.
Tones
#ff40d1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ff40d1 {
color: #ff40d1;
}
.bg-ff40d1 {
background-color: #ff40d1;
color: #000000;
}
.border-ff40d1 {
border: 2px solid #ff40d1;
}
:root {
--color-primary: #ff40d1;
--color-primary-rgb: 255 64 209;
--color-primary-hsl: 314 100% 63%;
}
.gradient-ff40d1 {
background: linear-gradient(135deg, #ff40d1, #ff4072);
}
.shadow-ff40d1 {
box-shadow: 0 8px 24px rgb(255 64 209 / 0.35);
}
Shocking Pink
#ff40d1 rgb(255, 64, 209) hsl(314, 100%, 63%) Shocking Pink
#40ff6e rgb(64, 255, 110) hsl(134, 100%, 63%) Spring Green
#d1ff40 rgb(209, 255, 64) hsl(74, 100%, 63%) Electric Lime
#40d1ff rgb(64, 209, 255) hsl(194, 100%, 63%) Baby Blue