#cd1fa8 ≈ Medium Violet Red
#cd1fa8 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 12.16% green and 65.88% blue; printed in CMYK it uses 0% cyan, 84.88% magenta, 18.05% yellow and 19.61% black. Its hue angle is 312.76°, with 73.73% saturation and 46.27% 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 brand accents. White text on this color reaches a contrast ratio of 4.82:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.45.
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.1679 |
Shades
#cd1fa8 mixed progressively with black.
Tints
#cd1fa8 mixed progressively with white.
Tones
#cd1fa8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd1fa8 {
color: #cd1fa8;
}
.bg-cd1fa8 {
background-color: #cd1fa8;
color: #ffffff;
}
.border-cd1fa8 {
border: 2px solid #cd1fa8;
}
:root {
--color-primary: #cd1fa8;
--color-primary-rgb: 205 31 168;
--color-primary-hsl: 313 74% 46%;
}
.gradient-cd1fa8 {
background: linear-gradient(135deg, #cd1fa8, #cd1f51);
}
.shadow-cd1fa8 {
box-shadow: 0 8px 24px rgb(205 31 168 / 0.35);
}
Medium Violet Red
#cd1fa8 rgb(205, 31, 168) hsl(313, 74%, 46%) Medium Violet Red
#1fcd44 rgb(31, 205, 68) hsl(133, 74%, 46%) Lime Green
#a8cd1f rgb(168, 205, 31) hsl(73, 74%, 46%) Yellow Green
#1fa8cd rgb(31, 168, 205) hsl(193, 74%, 46%) Bondi Blue