#c302aa ≈ Medium Violet Red
#c302aa is a color from the magenta family, with low lightness and vivid saturation. In the RGB model it is made of 76.47% red, 0.78% green and 66.67% blue; printed in CMYK it uses 0% cyan, 98.97% magenta, 12.82% yellow and 23.53% black. Its hue angle is 307.77°, with 97.97% saturation and 38.63% 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.37:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.55.
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.1455 |
Shades
#c302aa mixed progressively with black.
Tints
#c302aa mixed progressively with white.
Tones
#c302aa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c302aa {
color: #c302aa;
}
.bg-c302aa {
background-color: #c302aa;
color: #ffffff;
}
.border-c302aa {
border: 2px solid #c302aa;
}
:root {
--color-primary: #c302aa;
--color-primary-rgb: 195 2 170;
--color-primary-hsl: 308 98% 39%;
}
.gradient-c302aa {
background: linear-gradient(135deg, #c302aa, #c3024a);
}
.shadow-c302aa {
box-shadow: 0 8px 24px rgb(195 2 170 / 0.35);
}
Medium Violet Red
#c302aa rgb(195, 2, 170) hsl(308, 98%, 39%) Medium Violet Red
#02c31b rgb(2, 195, 27) hsl(128, 98%, 39%) Lime Green
#aac302 rgb(170, 195, 2) hsl(68, 98%, 39%) Apple Green
#02aac3 rgb(2, 170, 195) hsl(188, 98%, 39%) Bondi Blue