#d02ca7 ≈ Medium Violet Red
#d02ca7 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 65.49% blue; printed in CMYK it uses 0% cyan, 78.85% magenta, 19.71% yellow and 18.43% black. Its hue angle is 315°, 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.6:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.63.
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.18 |
Shades
#d02ca7 mixed progressively with black.
Tints
#d02ca7 mixed progressively with white.
Tones
#d02ca7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d02ca7 {
color: #d02ca7;
}
.bg-d02ca7 {
background-color: #d02ca7;
color: #000000;
}
.border-d02ca7 {
border: 2px solid #d02ca7;
}
:root {
--color-primary: #d02ca7;
--color-primary-rgb: 208 44 167;
--color-primary-hsl: 315 65% 49%;
}
.gradient-d02ca7 {
background: linear-gradient(135deg, #d02ca7, #d02c55);
}
.shadow-d02ca7 {
box-shadow: 0 8px 24px rgb(208 44 167 / 0.35);
}
Medium Violet Red
#d02ca7 rgb(208, 44, 167) hsl(315, 65%, 49%) Medium Violet Red
#2cd055 rgb(44, 208, 85) hsl(135, 65%, 49%) Malachite
#a7d02c rgb(167, 208, 44) hsl(75, 65%, 49%) Yellow Green
#2ca7d0 rgb(44, 167, 208) hsl(195, 65%, 49%) Bondi Blue