#a8317f ≈ Medium Violet Red
#a8317f is a color from the rose family, with medium lightness and moderate saturation. In the RGB model it is made of 65.88% red, 19.22% green and 49.8% blue; printed in CMYK it uses 0% cyan, 70.83% magenta, 24.4% yellow and 34.12% black. Its hue angle is 320.67°, with 54.84% saturation and 42.55% 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 6.16:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.41.
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.1205 |
Shades
#a8317f mixed progressively with black.
Tints
#a8317f mixed progressively with white.
Tones
#a8317f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a8317f {
color: #a8317f;
}
.bg-a8317f {
background-color: #a8317f;
color: #ffffff;
}
.border-a8317f {
border: 2px solid #a8317f;
}
:root {
--color-primary: #a8317f;
--color-primary-rgb: 168 49 127;
--color-primary-hsl: 321 55% 43%;
}
.gradient-a8317f {
background: linear-gradient(135deg, #a8317f, #a83144);
}
.shadow-a8317f {
box-shadow: 0 8px 24px rgb(168 49 127 / 0.35);
}
Medium Violet Red
#a8317f rgb(168, 49, 127) hsl(321, 55%, 43%) Medium Violet Red
#31a85a rgb(49, 168, 90) hsl(141, 55%, 43%) Jade
#7fa831 rgb(127, 168, 49) hsl(81, 55%, 43%) Apple Green
#317fa8 rgb(49, 127, 168) hsl(201, 55%, 43%) Cerulean