#af178c ≈ Medium Violet Red
#af178c is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 9.02% green and 54.9% blue; printed in CMYK it uses 0% cyan, 86.86% magenta, 20% yellow and 31.37% black. Its hue angle is 313.82°, with 76.77% saturation and 38.82% 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 brand accents. White text on this color reaches a contrast ratio of 6.32:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.04.
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.1162 |
Shades
#af178c mixed progressively with black.
Tints
#af178c mixed progressively with white.
Tones
#af178c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af178c {
color: #af178c;
}
.bg-af178c {
background-color: #af178c;
color: #ffffff;
}
.border-af178c {
border: 2px solid #af178c;
}
:root {
--color-primary: #af178c;
--color-primary-rgb: 175 23 140;
--color-primary-hsl: 314 77% 39%;
}
.gradient-af178c {
background: linear-gradient(135deg, #af178c, #af1740);
}
.shadow-af178c {
box-shadow: 0 8px 24px rgb(175 23 140 / 0.35);
}
Medium Violet Red
#af178c rgb(175, 23, 140) hsl(314, 77%, 39%) Medium Violet Red
#17af3a rgb(23, 175, 58) hsl(134, 77%, 39%) Kelly Green
#8caf17 rgb(140, 175, 23) hsl(74, 77%, 39%) Apple Green
#178caf rgb(23, 140, 175) hsl(194, 77%, 39%) Bondi Blue