#cd1f8b ≈ Medium Violet Red
#cd1f8b is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 12.16% green and 54.51% blue; printed in CMYK it uses 0% cyan, 84.88% magenta, 32.2% yellow and 19.61% black. Its hue angle is 322.76°, with 73.73% saturation and 46.27% 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.04:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.91.
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.1582 |
Shades
#cd1f8b mixed progressively with black.
Tints
#cd1f8b mixed progressively with white.
Tones
#cd1f8b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd1f8b {
color: #cd1f8b;
}
.bg-cd1f8b {
background-color: #cd1f8b;
color: #ffffff;
}
.border-cd1f8b {
border: 2px solid #cd1f8b;
}
:root {
--color-primary: #cd1f8b;
--color-primary-rgb: 205 31 139;
--color-primary-hsl: 323 74% 46%;
}
.gradient-cd1f8b {
background: linear-gradient(135deg, #cd1f8b, #cd1f34);
}
.shadow-cd1f8b {
box-shadow: 0 8px 24px rgb(205 31 139 / 0.35);
}
Medium Violet Red
#cd1f8b rgb(205, 31, 139) hsl(323, 74%, 46%) Medium Violet Red
#1fcd61 rgb(31, 205, 97) hsl(143, 74%, 46%) Malachite
#8bcd1f rgb(139, 205, 31) hsl(83, 74%, 46%) Yellow Green
#1f8bcd rgb(31, 139, 205) hsl(203, 74%, 46%) Steel Blue