#af0d8a ≈ Medium Violet Red
#af0d8a is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 5.1% green and 54.12% blue; printed in CMYK it uses 0% cyan, 92.57% magenta, 21.14% yellow and 31.37% black. Its hue angle is 313.7°, with 86.17% saturation and 36.86% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 6.47:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.2.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #990099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1124 |
Shades
#af0d8a mixed progressively with black.
Tints
#af0d8a mixed progressively with white.
Tones
#af0d8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af0d8a {
color: #af0d8a;
}
.bg-af0d8a {
background-color: #af0d8a;
color: #ffffff;
}
.border-af0d8a {
border: 2px solid #af0d8a;
}
:root {
--color-primary: #af0d8a;
--color-primary-rgb: 175 13 138;
--color-primary-hsl: 314 86% 37%;
}
.gradient-af0d8a {
background: linear-gradient(135deg, #af0d8a, #af0d39);
}
.shadow-af0d8a {
box-shadow: 0 8px 24px rgb(175 13 138 / 0.35);
}
Medium Violet Red
#af0d8a rgb(175, 13, 138) hsl(314, 86%, 37%) Medium Violet Red
#0daf32 rgb(13, 175, 50) hsl(134, 86%, 37%) Kelly Green
#8aaf0d rgb(138, 175, 13) hsl(74, 86%, 37%) Apple Green
#0d8aaf rgb(13, 138, 175) hsl(194, 86%, 37%) Bondi Blue