#c42e87 ≈ Medium Violet Red
#c42e87 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 76.86% red, 18.04% green and 52.94% blue; printed in CMYK it uses 0% cyan, 76.53% magenta, 31.12% yellow and 23.14% black. Its hue angle is 324.4°, with 61.98% saturation and 47.45% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and brand accents. White text on this color reaches a contrast ratio of 5.14:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.05.
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.1544 |
Shades
#c42e87 mixed progressively with black.
Tints
#c42e87 mixed progressively with white.
Tones
#c42e87 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c42e87 {
color: #c42e87;
}
.bg-c42e87 {
background-color: #c42e87;
color: #ffffff;
}
.border-c42e87 {
border: 2px solid #c42e87;
}
:root {
--color-primary: #c42e87;
--color-primary-rgb: 196 46 135;
--color-primary-hsl: 324 62% 47%;
}
.gradient-c42e87 {
background: linear-gradient(135deg, #c42e87, #c42e3c);
}
.shadow-c42e87 {
box-shadow: 0 8px 24px rgb(196 46 135 / 0.35);
}
Medium Violet Red
#c42e87 rgb(196, 46, 135) hsl(324, 62%, 47%) Medium Violet Red
#2ec46b rgb(46, 196, 107) hsl(144, 62%, 47%) Emerald
#87c42e rgb(135, 196, 46) hsl(84, 62%, 47%) Yellow Green
#2e87c4 rgb(46, 135, 196) hsl(204, 62%, 47%) Steel Blue