#af2e71 ≈ Medium Violet Red
#af2e71 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 18.04% green and 44.31% blue; printed in CMYK it uses 0% cyan, 73.71% magenta, 35.43% yellow and 31.37% black. Its hue angle is 328.84°, with 58.37% saturation and 43.33% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and brand accents. White text on this color reaches a contrast ratio of 6.08:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.18.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #993366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1226 |
Shades
#af2e71 mixed progressively with black.
Tints
#af2e71 mixed progressively with white.
Tones
#af2e71 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af2e71 {
color: #af2e71;
}
.bg-af2e71 {
background-color: #af2e71;
color: #ffffff;
}
.border-af2e71 {
border: 2px solid #af2e71;
}
:root {
--color-primary: #af2e71;
--color-primary-rgb: 175 46 113;
--color-primary-hsl: 329 58% 43%;
}
.gradient-af2e71 {
background: linear-gradient(135deg, #af2e71, #af2e30);
}
.shadow-af2e71 {
box-shadow: 0 8px 24px rgb(175 46 113 / 0.35);
}
Medium Violet Red
#af2e71 rgb(175, 46, 113) hsl(329, 58%, 43%) Medium Violet Red
#2eaf6c rgb(46, 175, 108) hsl(149, 58%, 43%) Medium Sea Green
#71af2e rgb(113, 175, 46) hsl(89, 58%, 43%) Kelly Green
#2e71af rgb(46, 113, 175) hsl(209, 58%, 43%) French Blue