#c40887 ≈ Medium Violet Red
#c40887 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 76.86% red, 3.14% green and 52.94% blue; printed in CMYK it uses 0% cyan, 95.92% magenta, 31.12% yellow and 23.14% black. Its hue angle is 319.47°, with 92.16% saturation and 40% 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.63:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.42.
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.1366 |
Shades
#c40887 mixed progressively with black.
Tints
#c40887 mixed progressively with white.
Tones
#c40887 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c40887 {
color: #c40887;
}
.bg-c40887 {
background-color: #c40887;
color: #ffffff;
}
.border-c40887 {
border: 2px solid #c40887;
}
:root {
--color-primary: #c40887;
--color-primary-rgb: 196 8 135;
--color-primary-hsl: 319 92% 40%;
}
.gradient-c40887 {
background: linear-gradient(135deg, #c40887, #c40829);
}
.shadow-c40887 {
box-shadow: 0 8px 24px rgb(196 8 135 / 0.35);
}
Medium Violet Red
#c40887 rgb(196, 8, 135) hsl(319, 92%, 40%) Medium Violet Red
#08c445 rgb(8, 196, 69) hsl(139, 92%, 40%) Lime Green
#87c408 rgb(135, 196, 8) hsl(79, 92%, 40%) Yellow Green
#0887c4 rgb(8, 135, 196) hsl(199, 92%, 40%) Steel Blue