#c504a9 ≈ Medium Violet Red
#c504a9 is a color from the magenta family, with low lightness and vivid saturation. In the RGB model it is made of 77.25% red, 1.57% green and 66.27% blue; printed in CMYK it uses 0% cyan, 97.97% magenta, 14.21% yellow and 22.75% black. Its hue angle is 308.7°, with 96.02% saturation and 39.41% 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 5.3:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.17.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1482 |
Shades
#c504a9 mixed progressively with black.
Tints
#c504a9 mixed progressively with white.
Tones
#c504a9 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c504a9 {
color: #c504a9;
}
.bg-c504a9 {
background-color: #c504a9;
color: #ffffff;
}
.border-c504a9 {
border: 2px solid #c504a9;
}
:root {
--color-primary: #c504a9;
--color-primary-rgb: 197 4 169;
--color-primary-hsl: 309 96% 39%;
}
.gradient-c504a9 {
background: linear-gradient(135deg, #c504a9, #c50449);
}
.shadow-c504a9 {
box-shadow: 0 8px 24px rgb(197 4 169 / 0.35);
}
Medium Violet Red
#c504a9 rgb(197, 4, 169) hsl(309, 96%, 39%) Medium Violet Red
#04c520 rgb(4, 197, 32) hsl(129, 96%, 39%) Lime Green
#a9c504 rgb(169, 197, 4) hsl(69, 96%, 39%) Yellow Green
#04a9c5 rgb(4, 169, 197) hsl(189, 96%, 39%) Bondi Blue