#ca2a7e ≈ Medium Violet Red
#ca2a7e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 16.47% green and 49.41% blue; printed in CMYK it uses 0% cyan, 79.21% magenta, 37.62% yellow and 20.78% black. Its hue angle is 328.5°, with 65.57% saturation and 47.84% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and brand accents. White text on this color reaches a contrast ratio of 5.07:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.35.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1572 |
Shades
#ca2a7e mixed progressively with black.
Tints
#ca2a7e mixed progressively with white.
Tones
#ca2a7e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ca2a7e {
color: #ca2a7e;
}
.bg-ca2a7e {
background-color: #ca2a7e;
color: #ffffff;
}
.border-ca2a7e {
border: 2px solid #ca2a7e;
}
:root {
--color-primary: #ca2a7e;
--color-primary-rgb: 202 42 126;
--color-primary-hsl: 329 66% 48%;
}
.gradient-ca2a7e {
background: linear-gradient(135deg, #ca2a7e, #ca2a2e);
}
.shadow-ca2a7e {
box-shadow: 0 8px 24px rgb(202 42 126 / 0.35);
}
Medium Violet Red
#ca2a7e rgb(202, 42, 126) hsl(329, 66%, 48%) Medium Violet Red
#2aca76 rgb(42, 202, 118) hsl(149, 66%, 48%) Emerald
#7eca2a rgb(126, 202, 42) hsl(89, 66%, 48%) Yellow Green
#2a7eca rgb(42, 126, 202) hsl(209, 66%, 48%) Tufts Blue