#cd159d ≈ Medium Violet Red
#cd159d is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 8.24% green and 61.57% blue; printed in CMYK it uses 0% cyan, 89.76% magenta, 23.41% yellow and 19.61% black. Its hue angle is 315.65°, with 81.42% saturation and 44.31% 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.01:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.46.
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.1595 |
Shades
#cd159d mixed progressively with black.
Tints
#cd159d mixed progressively with white.
Tones
#cd159d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd159d {
color: #cd159d;
}
.bg-cd159d {
background-color: #cd159d;
color: #ffffff;
}
.border-cd159d {
border: 2px solid #cd159d;
}
:root {
--color-primary: #cd159d;
--color-primary-rgb: 205 21 157;
--color-primary-hsl: 316 81% 44%;
}
.gradient-cd159d {
background: linear-gradient(135deg, #cd159d, #cd1541);
}
.shadow-cd159d {
box-shadow: 0 8px 24px rgb(205 21 157 / 0.35);
}
Medium Violet Red
#cd159d rgb(205, 21, 157) hsl(316, 81%, 44%) Medium Violet Red
#15cd45 rgb(21, 205, 69) hsl(136, 81%, 44%) Lime Green
#9dcd15 rgb(157, 205, 21) hsl(76, 81%, 44%) Yellow Green
#159dcd rgb(21, 157, 205) hsl(196, 81%, 44%) Bondi Blue