#af268c ≈ Medium Violet Red
#af268c is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 14.9% green and 54.9% blue; printed in CMYK it uses 0% cyan, 78.29% magenta, 20% yellow and 31.37% black. Its hue angle is 315.33°, with 64.32% saturation and 41.76% 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 6.04:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.34.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #993399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1239 |
Shades
#af268c mixed progressively with black.
Tints
#af268c mixed progressively with white.
Tones
#af268c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af268c {
color: #af268c;
}
.bg-af268c {
background-color: #af268c;
color: #ffffff;
}
.border-af268c {
border: 2px solid #af268c;
}
:root {
--color-primary: #af268c;
--color-primary-rgb: 175 38 140;
--color-primary-hsl: 315 64% 42%;
}
.gradient-af268c {
background: linear-gradient(135deg, #af268c, #af2647);
}
.shadow-af268c {
box-shadow: 0 8px 24px rgb(175 38 140 / 0.35);
}
Medium Violet Red
#af268c rgb(175, 38, 140) hsl(315, 64%, 42%) Medium Violet Red
#26af49 rgb(38, 175, 73) hsl(135, 64%, 42%) Medium Sea Green
#8caf26 rgb(140, 175, 38) hsl(75, 64%, 42%) Apple Green
#268caf rgb(38, 140, 175) hsl(195, 64%, 42%) Bondi Blue