#cc0fa4 ≈ Medium Violet Red
#cc0fa4 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 5.88% green and 64.31% blue; printed in CMYK it uses 0% cyan, 92.65% magenta, 19.61% yellow and 20% black. Its hue angle is 312.7°, with 86.3% saturation and 42.94% 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.03:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.74.
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.1586 |
Shades
#cc0fa4 mixed progressively with black.
Tints
#cc0fa4 mixed progressively with white.
Tones
#cc0fa4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc0fa4 {
color: #cc0fa4;
}
.bg-cc0fa4 {
background-color: #cc0fa4;
color: #ffffff;
}
.border-cc0fa4 {
border: 2px solid #cc0fa4;
}
:root {
--color-primary: #cc0fa4;
--color-primary-rgb: 204 15 164;
--color-primary-hsl: 313 86% 43%;
}
.gradient-cc0fa4 {
background: linear-gradient(135deg, #cc0fa4, #cc0f45);
}
.shadow-cc0fa4 {
box-shadow: 0 8px 24px rgb(204 15 164 / 0.35);
}
Medium Violet Red
#cc0fa4 rgb(204, 15, 164) hsl(313, 86%, 43%) Medium Violet Red
#0fcc37 rgb(15, 204, 55) hsl(133, 86%, 43%) Lime Green
#a4cc0f rgb(164, 204, 15) hsl(73, 86%, 43%) Yellow Green
#0fa4cc rgb(15, 164, 204) hsl(193, 86%, 43%) Bondi Blue