#a5287c ≈ Medium Violet Red
#a5287c is a color from the magenta family, with medium lightness and moderate saturation. In the RGB model it is made of 64.71% red, 15.69% green and 48.63% blue; printed in CMYK it uses 0% cyan, 75.76% magenta, 24.85% yellow and 35.29% black. Its hue angle is 319.68°, with 60.98% saturation and 40.2% 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.57:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.21.
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.1097 |
Shades
#a5287c mixed progressively with black.
Tints
#a5287c mixed progressively with white.
Tones
#a5287c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a5287c {
color: #a5287c;
}
.bg-a5287c {
background-color: #a5287c;
color: #ffffff;
}
.border-a5287c {
border: 2px solid #a5287c;
}
:root {
--color-primary: #a5287c;
--color-primary-rgb: 165 40 124;
--color-primary-hsl: 320 61% 40%;
}
.gradient-a5287c {
background: linear-gradient(135deg, #a5287c, #a5283e);
}
.shadow-a5287c {
box-shadow: 0 8px 24px rgb(165 40 124 / 0.35);
}
Medium Violet Red
#a5287c rgb(165, 40, 124) hsl(320, 61%, 40%) Medium Violet Red
#28a551 rgb(40, 165, 81) hsl(140, 61%, 40%) Shamrock Green
#7ca528 rgb(124, 165, 40) hsl(80, 61%, 40%) Apple Green
#287ca5 rgb(40, 124, 165) hsl(200, 61%, 40%) Cerulean