#d2148e ≈ Medium Violet Red
#d2148e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 7.84% green and 55.69% blue; printed in CMYK it uses 0% cyan, 90.48% magenta, 32.38% yellow and 17.65% black. Its hue angle is 321.47°, with 82.61% saturation and 45.1% 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.96:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.49.
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.1615 |
Shades
#d2148e mixed progressively with black.
Tints
#d2148e mixed progressively with white.
Tones
#d2148e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2148e {
color: #d2148e;
}
.bg-d2148e {
background-color: #d2148e;
color: #ffffff;
}
.border-d2148e {
border: 2px solid #d2148e;
}
:root {
--color-primary: #d2148e;
--color-primary-rgb: 210 20 142;
--color-primary-hsl: 321 83% 45%;
}
.gradient-d2148e {
background: linear-gradient(135deg, #d2148e, #d2142f);
}
.shadow-d2148e {
box-shadow: 0 8px 24px rgb(210 20 142 / 0.35);
}
Medium Violet Red
#d2148e rgb(210, 20, 142) hsl(321, 83%, 45%) Medium Violet Red
#14d258 rgb(20, 210, 88) hsl(141, 83%, 45%) Malachite
#8ed214 rgb(142, 210, 20) hsl(81, 83%, 45%) Yellow Green
#148ed2 rgb(20, 142, 210) hsl(201, 83%, 45%) Bleu de France