#c124a2 ≈ Medium Violet Red
#c124a2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 75.69% red, 14.12% green and 63.53% blue; printed in CMYK it uses 0% cyan, 81.35% magenta, 16.06% yellow and 24.31% black. Its hue angle is 311.85°, with 68.56% saturation and 44.9% 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 5.2:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.03.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1521 |
Shades
#c124a2 mixed progressively with black.
Tints
#c124a2 mixed progressively with white.
Tones
#c124a2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c124a2 {
color: #c124a2;
}
.bg-c124a2 {
background-color: #c124a2;
color: #ffffff;
}
.border-c124a2 {
border: 2px solid #c124a2;
}
:root {
--color-primary: #c124a2;
--color-primary-rgb: 193 36 162;
--color-primary-hsl: 312 69% 45%;
}
.gradient-c124a2 {
background: linear-gradient(135deg, #c124a2, #c12453);
}
.shadow-c124a2 {
box-shadow: 0 8px 24px rgb(193 36 162 / 0.35);
}
Medium Violet Red
#c124a2 rgb(193, 36, 162) hsl(312, 69%, 45%) Medium Violet Red
#24c143 rgb(36, 193, 67) hsl(132, 69%, 45%) Lime Green
#a2c124 rgb(162, 193, 36) hsl(72, 69%, 45%) Apple Green
#24a2c1 rgb(36, 162, 193) hsl(192, 69%, 45%) Bondi Blue