#cd18ab ≈ Medium Violet Red
#cd18ab is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 9.41% green and 67.06% blue; printed in CMYK it uses 0% cyan, 88.29% magenta, 16.59% yellow and 19.61% black. Its hue angle is 311.27°, with 79.04% saturation and 44.9% 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.87:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.92.
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.1657 |
Shades
#cd18ab mixed progressively with black.
Tints
#cd18ab mixed progressively with white.
Tones
#cd18ab mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd18ab {
color: #cd18ab;
}
.bg-cd18ab {
background-color: #cd18ab;
color: #ffffff;
}
.border-cd18ab {
border: 2px solid #cd18ab;
}
:root {
--color-primary: #cd18ab;
--color-primary-rgb: 205 24 171;
--color-primary-hsl: 311 79% 45%;
}
.gradient-cd18ab {
background: linear-gradient(135deg, #cd18ab, #cd1850);
}
.shadow-cd18ab {
box-shadow: 0 8px 24px rgb(205 24 171 / 0.35);
}
Medium Violet Red
#cd18ab rgb(205, 24, 171) hsl(311, 79%, 45%) Medium Violet Red
#18cd3a rgb(24, 205, 58) hsl(131, 79%, 45%) Lime Green
#abcd18 rgb(171, 205, 24) hsl(71, 79%, 45%) Yellow Green
#18abcd rgb(24, 171, 205) hsl(191, 79%, 45%) Bondi Blue