#af40cf ≈ Medium Orchid
#af40cf is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 25.1% green and 81.18% blue; printed in CMYK it uses 15.46% cyan, 69.08% magenta, 0% yellow and 18.82% black. Its hue angle is 286.57°, with 59.83% saturation and 53.14% 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. White text on this color reaches a contrast ratio of 4.71:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 5.33.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9933cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1729 |
Shades
#af40cf mixed progressively with black.
Tints
#af40cf mixed progressively with white.
Tones
#af40cf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af40cf {
color: #af40cf;
}
.bg-af40cf {
background-color: #af40cf;
color: #ffffff;
}
.border-af40cf {
border: 2px solid #af40cf;
}
:root {
--color-primary: #af40cf;
--color-primary-rgb: 175 64 207;
--color-primary-hsl: 287 60% 53%;
}
.gradient-af40cf {
background: linear-gradient(135deg, #af40cf, #cf40a8);
}
.shadow-af40cf {
box-shadow: 0 8px 24px rgb(175 64 207 / 0.35);
}
Medium Orchid
#af40cf rgb(175, 64, 207) hsl(287, 60%, 53%) Medium Orchid
#60cf40 rgb(96, 207, 64) hsl(107, 60%, 53%) Lime Green
#cfaf40 rgb(207, 175, 64) hsl(47, 60%, 53%) Metallic Gold
#40cfaf rgb(64, 207, 175) hsl(167, 60%, 53%) Medium Aquamarine