#c40ea0 ≈ Medium Violet Red
#c40ea0 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 76.86% red, 5.49% green and 62.75% blue; printed in CMYK it uses 0% cyan, 92.86% magenta, 18.37% yellow and 23.14% black. Its hue angle is 311.87°, with 86.67% saturation and 41.18% 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.36:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.64.
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.1459 |
Shades
#c40ea0 mixed progressively with black.
Tints
#c40ea0 mixed progressively with white.
Tones
#c40ea0 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c40ea0 {
color: #c40ea0;
}
.bg-c40ea0 {
background-color: #c40ea0;
color: #ffffff;
}
.border-c40ea0 {
border: 2px solid #c40ea0;
}
:root {
--color-primary: #c40ea0;
--color-primary-rgb: 196 14 160;
--color-primary-hsl: 312 87% 41%;
}
.gradient-c40ea0 {
background: linear-gradient(135deg, #c40ea0, #c40e45);
}
.shadow-c40ea0 {
box-shadow: 0 8px 24px rgb(196 14 160 / 0.35);
}
Medium Violet Red
#c40ea0 rgb(196, 14, 160) hsl(312, 87%, 41%) Medium Violet Red
#0ec432 rgb(14, 196, 50) hsl(132, 87%, 41%) Lime Green
#a0c40e rgb(160, 196, 14) hsl(72, 87%, 41%) Yellow Green
#0ea0c4 rgb(14, 160, 196) hsl(192, 87%, 41%) Bondi Blue