#f28cdf ≈ Violet
#f28cdf is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 54.9% green and 87.45% blue; printed in CMYK it uses 0% cyan, 42.15% magenta, 7.85% yellow and 5.1% black. Its hue angle is 311.18°, with 79.69% saturation and 74.9% 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 brand accents. Black text on this color reaches a contrast ratio of 9.59:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 4.41.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff99cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4296 |
Shades
#f28cdf mixed progressively with black.
Tints
#f28cdf mixed progressively with white.
Tones
#f28cdf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f28cdf {
color: #f28cdf;
}
.bg-f28cdf {
background-color: #f28cdf;
color: #000000;
}
.border-f28cdf {
border: 2px solid #f28cdf;
}
:root {
--color-primary: #f28cdf;
--color-primary-rgb: 242 140 223;
--color-primary-hsl: 311 80% 75%;
}
.gradient-f28cdf {
background: linear-gradient(135deg, #f28cdf, #f28cac);
}
.shadow-f28cdf {
box-shadow: 0 8px 24px rgb(242 140 223 / 0.35);
}
Violet
#f28cdf rgb(242, 140, 223) hsl(311, 80%, 75%) Violet
#8cf29f rgb(140, 242, 159) hsl(131, 80%, 75%) Light Green
#dff28c rgb(223, 242, 140) hsl(71, 80%, 75%) Pastel Yellow
#8cdff2 rgb(140, 223, 242) hsl(191, 80%, 75%) Non-Photo Blue