#df138b ≈ Medium Violet Red
#df138b is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 7.45% green and 54.51% blue; printed in CMYK it uses 0% cyan, 91.48% magenta, 37.67% yellow and 12.55% black. Its hue angle is 324.71°, with 84.3% saturation and 47.45% 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. 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 5.17.
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.1802 |
Shades
#df138b mixed progressively with black.
Tints
#df138b mixed progressively with white.
Tones
#df138b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-df138b {
color: #df138b;
}
.bg-df138b {
background-color: #df138b;
color: #000000;
}
.border-df138b {
border: 2px solid #df138b;
}
:root {
--color-primary: #df138b;
--color-primary-rgb: 223 19 139;
--color-primary-hsl: 325 84% 47%;
}
.gradient-df138b {
background: linear-gradient(135deg, #df138b, #df1325);
}
.shadow-df138b {
box-shadow: 0 8px 24px rgb(223 19 139 / 0.35);
}
Medium Violet Red
#df138b rgb(223, 19, 139) hsl(325, 84%, 47%) Medium Violet Red
#13df67 rgb(19, 223, 103) hsl(145, 84%, 47%) Malachite
#8bdf13 rgb(139, 223, 19) hsl(85, 84%, 47%) Yellow Green
#138bdf rgb(19, 139, 223) hsl(205, 84%, 47%) Bleu de France