#d21790 ≈ Medium Violet Red
#d21790 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 9.02% green and 56.47% blue; printed in CMYK it uses 0% cyan, 89.05% magenta, 31.43% yellow and 17.65% black. Its hue angle is 321.18°, with 80.26% saturation and 45.69% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 4.92:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.76.
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.1633 |
Shades
#d21790 mixed progressively with black.
Tints
#d21790 mixed progressively with white.
Tones
#d21790 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d21790 {
color: #d21790;
}
.bg-d21790 {
background-color: #d21790;
color: #ffffff;
}
.border-d21790 {
border: 2px solid #d21790;
}
:root {
--color-primary: #d21790;
--color-primary-rgb: 210 23 144;
--color-primary-hsl: 321 80% 46%;
}
.gradient-d21790 {
background: linear-gradient(135deg, #d21790, #d21732);
}
.shadow-d21790 {
box-shadow: 0 8px 24px rgb(210 23 144 / 0.35);
}
Medium Violet Red
#d21790 rgb(210, 23, 144) hsl(321, 80%, 46%) Medium Violet Red
#17d259 rgb(23, 210, 89) hsl(141, 80%, 46%) Malachite
#90d217 rgb(144, 210, 23) hsl(81, 80%, 46%) Yellow Green
#1790d2 rgb(23, 144, 210) hsl(201, 80%, 46%) Bleu de France