#d02cab ≈ Medium Violet Red
#d02cab is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 17.25% green and 67.06% blue; printed in CMYK it uses 0% cyan, 78.85% magenta, 17.79% yellow and 18.43% black. Its hue angle is 313.54°, with 65.08% saturation and 49.41% 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. Black text on this color reaches a contrast ratio of 4.63:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.27.
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.1815 |
Shades
#d02cab mixed progressively with black.
Tints
#d02cab mixed progressively with white.
Tones
#d02cab mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d02cab {
color: #d02cab;
}
.bg-d02cab {
background-color: #d02cab;
color: #000000;
}
.border-d02cab {
border: 2px solid #d02cab;
}
:root {
--color-primary: #d02cab;
--color-primary-rgb: 208 44 171;
--color-primary-hsl: 314 65% 49%;
}
.gradient-d02cab {
background: linear-gradient(135deg, #d02cab, #d02c59);
}
.shadow-d02cab {
box-shadow: 0 8px 24px rgb(208 44 171 / 0.35);
}
Medium Violet Red
#d02cab rgb(208, 44, 171) hsl(314, 65%, 49%) Medium Violet Red
#2cd051 rgb(44, 208, 81) hsl(134, 65%, 49%) Malachite
#abd02c rgb(171, 208, 44) hsl(74, 65%, 49%) Yellow Green
#2cabd0 rgb(44, 171, 208) hsl(194, 65%, 49%) Moonstone Blue