#af2d86 ≈ Medium Violet Red
#af2d86 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 17.65% green and 52.55% blue; printed in CMYK it uses 0% cyan, 74.29% magenta, 23.43% yellow and 31.37% black. Its hue angle is 318.92°, with 59.09% saturation and 43.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 5.93:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.46.
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.1271 |
Shades
#af2d86 mixed progressively with black.
Tints
#af2d86 mixed progressively with white.
Tones
#af2d86 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af2d86 {
color: #af2d86;
}
.bg-af2d86 {
background-color: #af2d86;
color: #ffffff;
}
.border-af2d86 {
border: 2px solid #af2d86;
}
:root {
--color-primary: #af2d86;
--color-primary-rgb: 175 45 134;
--color-primary-hsl: 319 59% 43%;
}
.gradient-af2d86 {
background: linear-gradient(135deg, #af2d86, #af2d45);
}
.shadow-af2d86 {
box-shadow: 0 8px 24px rgb(175 45 134 / 0.35);
}
Medium Violet Red
#af2d86 rgb(175, 45, 134) hsl(319, 59%, 43%) Medium Violet Red
#2daf56 rgb(45, 175, 86) hsl(139, 59%, 43%) Medium Sea Green
#86af2d rgb(134, 175, 45) hsl(79, 59%, 43%) Apple Green
#2d86af rgb(45, 134, 175) hsl(199, 59%, 43%) Cerulean