#cd0f8a ≈ Medium Violet Red
#cd0f8a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 5.88% green and 54.12% blue; printed in CMYK it uses 0% cyan, 92.68% magenta, 32.68% yellow and 19.61% black. Its hue angle is 321.16°, with 86.36% saturation and 43.14% 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.21:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.25.
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.1516 |
Shades
#cd0f8a mixed progressively with black.
Tints
#cd0f8a mixed progressively with white.
Tones
#cd0f8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd0f8a {
color: #cd0f8a;
}
.bg-cd0f8a {
background-color: #cd0f8a;
color: #ffffff;
}
.border-cd0f8a {
border: 2px solid #cd0f8a;
}
:root {
--color-primary: #cd0f8a;
--color-primary-rgb: 205 15 138;
--color-primary-hsl: 321 86% 43%;
}
.gradient-cd0f8a {
background: linear-gradient(135deg, #cd0f8a, #cd0f2b);
}
.shadow-cd0f8a {
box-shadow: 0 8px 24px rgb(205 15 138 / 0.35);
}
Medium Violet Red
#cd0f8a rgb(205, 15, 138) hsl(321, 86%, 43%) Medium Violet Red
#0fcd52 rgb(15, 205, 82) hsl(141, 86%, 43%) Malachite
#8acd0f rgb(138, 205, 15) hsl(81, 86%, 43%) Yellow Green
#0f8acd rgb(15, 138, 205) hsl(201, 86%, 43%) Steel Blue