#af4086 ≈ Medium Violet Red
#af4086 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.1% green and 52.55% blue; printed in CMYK it uses 0% cyan, 63.43% magenta, 23.43% yellow and 31.37% black. Its hue angle is 322.16°, with 46.44% saturation and 46.86% 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.38:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.09.
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.145 |
Shades
#af4086 mixed progressively with black.
Tints
#af4086 mixed progressively with white.
Tones
#af4086 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af4086 {
color: #af4086;
}
.bg-af4086 {
background-color: #af4086;
color: #ffffff;
}
.border-af4086 {
border: 2px solid #af4086;
}
:root {
--color-primary: #af4086;
--color-primary-rgb: 175 64 134;
--color-primary-hsl: 322 46% 47%;
}
.gradient-af4086 {
background: linear-gradient(135deg, #af4086, #af404f);
}
.shadow-af4086 {
box-shadow: 0 8px 24px rgb(175 64 134 / 0.35);
}
Medium Violet Red
#af4086 rgb(175, 64, 134) hsl(322, 46%, 47%) Medium Violet Red
#40af69 rgb(64, 175, 105) hsl(142, 46%, 47%) Medium Sea Green
#86af40 rgb(134, 175, 64) hsl(82, 46%, 47%) Apple Green
#4086af rgb(64, 134, 175) hsl(202, 46%, 47%) Steel Blue