#af4286 ≈ Medium Violet Red
#af4286 is a color from the rose family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 25.88% green and 52.55% blue; printed in CMYK it uses 0% cyan, 62.29% magenta, 23.43% yellow and 31.37% black. Its hue angle is 322.57°, with 45.23% saturation and 47.25% 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.32:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.32.
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.1473 |
Shades
#af4286 mixed progressively with black.
Tints
#af4286 mixed progressively with white.
Tones
#af4286 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af4286 {
color: #af4286;
}
.bg-af4286 {
background-color: #af4286;
color: #ffffff;
}
.border-af4286 {
border: 2px solid #af4286;
}
:root {
--color-primary: #af4286;
--color-primary-rgb: 175 66 134;
--color-primary-hsl: 323 45% 47%;
}
.gradient-af4286 {
background: linear-gradient(135deg, #af4286, #af424f);
}
.shadow-af4286 {
box-shadow: 0 8px 24px rgb(175 66 134 / 0.35);
}
Medium Violet Red
#af4286 rgb(175, 66, 134) hsl(323, 45%, 47%) Medium Violet Red
#42af6b rgb(66, 175, 107) hsl(143, 45%, 47%) Medium Sea Green
#86af42 rgb(134, 175, 66) hsl(83, 45%, 47%) Apple Green
#4286af rgb(66, 134, 175) hsl(203, 45%, 47%) Steel Blue