#cd098a ≈ Medium Violet Red
#cd098a is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 3.53% green and 54.12% blue; printed in CMYK it uses 0% cyan, 95.61% magenta, 32.68% yellow and 19.61% black. Its hue angle is 320.51°, with 91.59% saturation and 41.96% 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 5.25:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.2.
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.1501 |
Shades
#cd098a mixed progressively with black.
Tints
#cd098a mixed progressively with white.
Tones
#cd098a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd098a {
color: #cd098a;
}
.bg-cd098a {
background-color: #cd098a;
color: #ffffff;
}
.border-cd098a {
border: 2px solid #cd098a;
}
:root {
--color-primary: #cd098a;
--color-primary-rgb: 205 9 138;
--color-primary-hsl: 321 92% 42%;
}
.gradient-cd098a {
background: linear-gradient(135deg, #cd098a, #cd0928);
}
.shadow-cd098a {
box-shadow: 0 8px 24px rgb(205 9 138 / 0.35);
}
Medium Violet Red
#cd098a rgb(205, 9, 138) hsl(321, 92%, 42%) Medium Violet Red
#09cd4c rgb(9, 205, 76) hsl(141, 92%, 42%) Malachite
#8acd09 rgb(138, 205, 9) hsl(81, 92%, 42%) Yellow Green
#098acd rgb(9, 138, 205) hsl(201, 92%, 42%) Steel Blue