#d02b8a ≈ Medium Violet Red
#d02b8a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 16.86% green and 54.12% blue; printed in CMYK it uses 0% cyan, 79.33% magenta, 33.65% yellow and 18.43% black. Its hue angle is 325.45°, with 65.74% saturation and 49.22% 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 brand accents. White text on this color reaches a contrast ratio of 4.78:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.49.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1697 |
Shades
#d02b8a mixed progressively with black.
Tints
#d02b8a mixed progressively with white.
Tones
#d02b8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d02b8a {
color: #d02b8a;
}
.bg-d02b8a {
background-color: #d02b8a;
color: #ffffff;
}
.border-d02b8a {
border: 2px solid #d02b8a;
}
:root {
--color-primary: #d02b8a;
--color-primary-rgb: 208 43 138;
--color-primary-hsl: 325 66% 49%;
}
.gradient-d02b8a {
background: linear-gradient(135deg, #d02b8a, #d02b38);
}
.shadow-d02b8a {
box-shadow: 0 8px 24px rgb(208 43 138 / 0.35);
}
Medium Violet Red
#d02b8a rgb(208, 43, 138) hsl(325, 66%, 49%) Medium Violet Red
#2bd071 rgb(43, 208, 113) hsl(145, 66%, 49%) Emerald
#8ad02b rgb(138, 208, 43) hsl(85, 66%, 49%) Yellow Green
#2b8ad0 rgb(43, 138, 208) hsl(205, 66%, 49%) Bleu de France