#d0218e ≈ Medium Violet Red
#d0218e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 12.94% green and 55.69% blue; printed in CMYK it uses 0% cyan, 84.13% magenta, 31.73% yellow and 18.43% black. Its hue angle is 322.63°, with 72.61% saturation and 47.25% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and brand accents. White text on this color reaches a contrast ratio of 4.89:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.73.
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.1645 |
Shades
#d0218e mixed progressively with black.
Tints
#d0218e mixed progressively with white.
Tones
#d0218e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d0218e {
color: #d0218e;
}
.bg-d0218e {
background-color: #d0218e;
color: #ffffff;
}
.border-d0218e {
border: 2px solid #d0218e;
}
:root {
--color-primary: #d0218e;
--color-primary-rgb: 208 33 142;
--color-primary-hsl: 323 73% 47%;
}
.gradient-d0218e {
background: linear-gradient(135deg, #d0218e, #d02136);
}
.shadow-d0218e {
box-shadow: 0 8px 24px rgb(208 33 142 / 0.35);
}
Medium Violet Red
#d0218e rgb(208, 33, 142) hsl(323, 73%, 47%) Medium Violet Red
#21d063 rgb(33, 208, 99) hsl(143, 73%, 47%) Malachite
#8ed021 rgb(142, 208, 33) hsl(83, 73%, 47%) Yellow Green
#218ed0 rgb(33, 142, 208) hsl(203, 73%, 47%) Bleu de France