#ca28ab ≈ Medium Violet Red
#ca28ab is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 15.69% green and 67.06% blue; printed in CMYK it uses 0% cyan, 80.2% magenta, 15.35% yellow and 20.78% black. Its hue angle is 311.48°, with 66.94% saturation and 47.45% 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.77:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.14.
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.1701 |
Shades
#ca28ab mixed progressively with black.
Tints
#ca28ab mixed progressively with white.
Tones
#ca28ab mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ca28ab {
color: #ca28ab;
}
.bg-ca28ab {
background-color: #ca28ab;
color: #ffffff;
}
.border-ca28ab {
border: 2px solid #ca28ab;
}
:root {
--color-primary: #ca28ab;
--color-primary-rgb: 202 40 171;
--color-primary-hsl: 311 67% 47%;
}
.gradient-ca28ab {
background: linear-gradient(135deg, #ca28ab, #ca285a);
}
.shadow-ca28ab {
box-shadow: 0 8px 24px rgb(202 40 171 / 0.35);
}
Medium Violet Red
#ca28ab rgb(202, 40, 171) hsl(311, 67%, 47%) Medium Violet Red
#28ca47 rgb(40, 202, 71) hsl(131, 67%, 47%) Lime Green
#abca28 rgb(171, 202, 40) hsl(71, 67%, 47%) Yellow Green
#28abca rgb(40, 171, 202) hsl(191, 67%, 47%) Bondi Blue