#d30798 ≈ Medium Violet Red
#d30798 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 2.75% green and 59.61% blue; printed in CMYK it uses 0% cyan, 96.68% magenta, 27.96% yellow and 17.25% black. Its hue angle is 317.35°, with 93.58% saturation and 42.75% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 4.94:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.69.
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.1627 |
Shades
#d30798 mixed progressively with black.
Tints
#d30798 mixed progressively with white.
Tones
#d30798 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d30798 {
color: #d30798;
}
.bg-d30798 {
background-color: #d30798;
color: #ffffff;
}
.border-d30798 {
border: 2px solid #d30798;
}
:root {
--color-primary: #d30798;
--color-primary-rgb: 211 7 152;
--color-primary-hsl: 317 94% 43%;
}
.gradient-d30798 {
background: linear-gradient(135deg, #d30798, #d30732);
}
.shadow-d30798 {
box-shadow: 0 8px 24px rgb(211 7 152 / 0.35);
}
Medium Violet Red
#d30798 rgb(211, 7, 152) hsl(317, 94%, 43%) Medium Violet Red
#07d342 rgb(7, 211, 66) hsl(137, 94%, 43%) Malachite
#98d307 rgb(152, 211, 7) hsl(77, 94%, 43%) Yellow Green
#0798d3 rgb(7, 152, 211) hsl(197, 94%, 43%) Carolina Blue