#cd127d ≈ Medium Violet Red
#cd127d is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 7.06% green and 49.02% blue; printed in CMYK it uses 0% cyan, 91.22% magenta, 39.02% yellow and 19.61% black. Its hue angle is 325.67°, with 83.86% saturation and 43.73% 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.28:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.51.
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.1489 |
Shades
#cd127d mixed progressively with black.
Tints
#cd127d mixed progressively with white.
Tones
#cd127d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd127d {
color: #cd127d;
}
.bg-cd127d {
background-color: #cd127d;
color: #ffffff;
}
.border-cd127d {
border: 2px solid #cd127d;
}
:root {
--color-primary: #cd127d;
--color-primary-rgb: 205 18 125;
--color-primary-hsl: 326 84% 44%;
}
.gradient-cd127d {
background: linear-gradient(135deg, #cd127d, #cd121f);
}
.shadow-cd127d {
box-shadow: 0 8px 24px rgb(205 18 125 / 0.35);
}
Medium Violet Red
#cd127d rgb(205, 18, 125) hsl(326, 84%, 44%) Medium Violet Red
#12cd62 rgb(18, 205, 98) hsl(146, 84%, 44%) Emerald
#7dcd12 rgb(125, 205, 18) hsl(86, 84%, 44%) Yellow Green
#127dcd rgb(18, 125, 205) hsl(206, 84%, 44%) Tufts Blue