#ca2d9f ≈ Medium Violet Red
#ca2d9f is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 17.65% green and 62.35% blue; printed in CMYK it uses 0% cyan, 77.72% magenta, 21.29% yellow and 20.78% black. Its hue angle is 316.43°, with 63.56% saturation and 48.43% 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 4.79:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.21.
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.1694 |
Shades
#ca2d9f mixed progressively with black.
Tints
#ca2d9f mixed progressively with white.
Tones
#ca2d9f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ca2d9f {
color: #ca2d9f;
}
.bg-ca2d9f {
background-color: #ca2d9f;
color: #ffffff;
}
.border-ca2d9f {
border: 2px solid #ca2d9f;
}
:root {
--color-primary: #ca2d9f;
--color-primary-rgb: 202 45 159;
--color-primary-hsl: 316 64% 48%;
}
.gradient-ca2d9f {
background: linear-gradient(135deg, #ca2d9f, #ca2d51);
}
.shadow-ca2d9f {
box-shadow: 0 8px 24px rgb(202 45 159 / 0.35);
}
Medium Violet Red
#ca2d9f rgb(202, 45, 159) hsl(316, 64%, 48%) Medium Violet Red
#2dca58 rgb(45, 202, 88) hsl(136, 64%, 48%) Malachite
#9fca2d rgb(159, 202, 45) hsl(76, 64%, 48%) Yellow Green
#2d9fca rgb(45, 159, 202) hsl(196, 64%, 48%) Bondi Blue