#cd097f ≈ Medium Violet Red
#cd097f 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 49.8% blue; printed in CMYK it uses 0% cyan, 95.61% magenta, 38.05% yellow and 19.61% black. Its hue angle is 323.88°, 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.33:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.94.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1471 |
Shades
#cd097f mixed progressively with black.
Tints
#cd097f mixed progressively with white.
Tones
#cd097f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd097f {
color: #cd097f;
}
.bg-cd097f {
background-color: #cd097f;
color: #ffffff;
}
.border-cd097f {
border: 2px solid #cd097f;
}
:root {
--color-primary: #cd097f;
--color-primary-rgb: 205 9 127;
--color-primary-hsl: 324 92% 42%;
}
.gradient-cd097f {
background: linear-gradient(135deg, #cd097f, #cd091d);
}
.shadow-cd097f {
box-shadow: 0 8px 24px rgb(205 9 127 / 0.35);
}
Medium Violet Red
#cd097f rgb(205, 9, 127) hsl(324, 92%, 42%) Medium Violet Red
#09cd57 rgb(9, 205, 87) hsl(144, 92%, 42%) Malachite
#7fcd09 rgb(127, 205, 9) hsl(84, 92%, 42%) Yellow Green
#097fcd rgb(9, 127, 205) hsl(204, 92%, 42%) Steel Blue