#af2e7d ≈ Medium Violet Red
#af2e7d 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 49.02% blue; printed in CMYK it uses 0% cyan, 73.71% magenta, 28.57% yellow and 31.37% black. Its hue angle is 323.26°, 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 5.98:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.12.
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.1255 |
Shades
#af2e7d mixed progressively with black.
Tints
#af2e7d mixed progressively with white.
Tones
#af2e7d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af2e7d {
color: #af2e7d;
}
.bg-af2e7d {
background-color: #af2e7d;
color: #ffffff;
}
.border-af2e7d {
border: 2px solid #af2e7d;
}
:root {
--color-primary: #af2e7d;
--color-primary-rgb: 175 46 125;
--color-primary-hsl: 323 58% 43%;
}
.gradient-af2e7d {
background: linear-gradient(135deg, #af2e7d, #af2e3c);
}
.shadow-af2e7d {
box-shadow: 0 8px 24px rgb(175 46 125 / 0.35);
}
Medium Violet Red
#af2e7d rgb(175, 46, 125) hsl(323, 58%, 43%) Medium Violet Red
#2eaf60 rgb(46, 175, 96) hsl(143, 58%, 43%) Medium Sea Green
#7daf2e rgb(125, 175, 46) hsl(83, 58%, 43%) Apple Green
#2e7daf rgb(46, 125, 175) hsl(203, 58%, 43%) Steel Blue