#db128e ≈ Medium Violet Red
#db128e is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 85.88% red, 7.06% green and 55.69% blue; printed in CMYK it uses 0% cyan, 91.78% magenta, 35.16% yellow and 14.12% black. Its hue angle is 322.99°, with 84.81% saturation and 46.47% 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.68:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.21.
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.1745 |
Shades
#db128e mixed progressively with black.
Tints
#db128e mixed progressively with white.
Tones
#db128e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-db128e {
color: #db128e;
}
.bg-db128e {
background-color: #db128e;
color: #ffffff;
}
.border-db128e {
border: 2px solid #db128e;
}
:root {
--color-primary: #db128e;
--color-primary-rgb: 219 18 142;
--color-primary-hsl: 323 85% 46%;
}
.gradient-db128e {
background: linear-gradient(135deg, #db128e, #db1229);
}
.shadow-db128e {
box-shadow: 0 8px 24px rgb(219 18 142 / 0.35);
}
Medium Violet Red
#db128e rgb(219, 18, 142) hsl(323, 85%, 46%) Medium Violet Red
#12db5f rgb(18, 219, 95) hsl(143, 85%, 46%) Malachite
#8edb12 rgb(142, 219, 18) hsl(83, 85%, 46%) Yellow Green
#128edb rgb(18, 142, 219) hsl(203, 85%, 46%) Bleu de France