#ff31db ≈ Shocking Pink
#ff31db is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 19.22% green and 85.88% blue; printed in CMYK it uses 0% cyan, 80.78% magenta, 14.12% yellow and 0% black. Its hue angle is 310.49°, with 100% saturation and 59.61% 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.71:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.51.
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.2857 |
Shades
#ff31db mixed progressively with black.
Tints
#ff31db mixed progressively with white.
Tones
#ff31db mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ff31db {
color: #ff31db;
}
.bg-ff31db {
background-color: #ff31db;
color: #000000;
}
.border-ff31db {
border: 2px solid #ff31db;
}
:root {
--color-primary: #ff31db;
--color-primary-rgb: 255 49 219;
--color-primary-hsl: 310 100% 60%;
}
.gradient-ff31db {
background: linear-gradient(135deg, #ff31db, #ff3174);
}
.shadow-ff31db {
box-shadow: 0 8px 24px rgb(255 49 219 / 0.35);
}
Shocking Pink
#ff31db rgb(255, 49, 219) hsl(310, 100%, 60%) Shocking Pink
#31ff55 rgb(49, 255, 85) hsl(130, 100%, 60%) Lime
#dbff31 rgb(219, 255, 49) hsl(70, 100%, 60%) Chartreuse Yellow
#31dbff rgb(49, 219, 255) hsl(190, 100%, 60%) Sky Blue