#cd027e ≈ Medium Violet Red
#cd027e is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 0.78% green and 49.41% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 38.54% yellow and 19.61% black. Its hue angle is 323.35°, with 98.07% saturation and 40.59% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.38:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.04.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1453 |
Shades
#cd027e mixed progressively with black.
Tints
#cd027e mixed progressively with white.
Tones
#cd027e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd027e {
color: #cd027e;
}
.bg-cd027e {
background-color: #cd027e;
color: #ffffff;
}
.border-cd027e {
border: 2px solid #cd027e;
}
:root {
--color-primary: #cd027e;
--color-primary-rgb: 205 2 126;
--color-primary-hsl: 323 98% 41%;
}
.gradient-cd027e {
background: linear-gradient(135deg, #cd027e, #cd0218);
}
.shadow-cd027e {
box-shadow: 0 8px 24px rgb(205 2 126 / 0.35);
}
Medium Violet Red
#cd027e rgb(205, 2, 126) hsl(323, 98%, 41%) Medium Violet Red
#02cd51 rgb(2, 205, 81) hsl(143, 98%, 41%) Malachite
#7ecd02 rgb(126, 205, 2) hsl(83, 98%, 41%) Yellow Green
#027ecd rgb(2, 126, 205) hsl(203, 98%, 41%) Tufts Blue