#ca05a2 ≈ Medium Violet Red
#ca05a2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.22% red, 1.96% green and 63.53% blue; printed in CMYK it uses 0% cyan, 97.52% magenta, 19.8% yellow and 20.78% black. Its hue angle is 312.18°, with 95.17% saturation and 40.59% 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.18:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.54.
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.1527 |
Shades
#ca05a2 mixed progressively with black.
Tints
#ca05a2 mixed progressively with white.
Tones
#ca05a2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ca05a2 {
color: #ca05a2;
}
.bg-ca05a2 {
background-color: #ca05a2;
color: #ffffff;
}
.border-ca05a2 {
border: 2px solid #ca05a2;
}
:root {
--color-primary: #ca05a2;
--color-primary-rgb: 202 5 162;
--color-primary-hsl: 312 95% 41%;
}
.gradient-ca05a2 {
background: linear-gradient(135deg, #ca05a2, #ca0540);
}
.shadow-ca05a2 {
box-shadow: 0 8px 24px rgb(202 5 162 / 0.35);
}
Medium Violet Red
#ca05a2 rgb(202, 5, 162) hsl(312, 95%, 41%) Medium Violet Red
#05ca2d rgb(5, 202, 45) hsl(132, 95%, 41%) Lime Green
#a2ca05 rgb(162, 202, 5) hsl(72, 95%, 41%) Yellow Green
#05a2ca rgb(5, 162, 202) hsl(192, 95%, 41%) Bondi Blue