#cd0ba2 ≈ Medium Violet Red
#cd0ba2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 4.31% green and 63.53% blue; printed in CMYK it uses 0% cyan, 94.63% magenta, 20.98% yellow and 19.61% black. Its hue angle is 313.3°, with 89.81% saturation and 42.35% 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 5.04:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.36.
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.1583 |
Shades
#cd0ba2 mixed progressively with black.
Tints
#cd0ba2 mixed progressively with white.
Tones
#cd0ba2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd0ba2 {
color: #cd0ba2;
}
.bg-cd0ba2 {
background-color: #cd0ba2;
color: #ffffff;
}
.border-cd0ba2 {
border: 2px solid #cd0ba2;
}
:root {
--color-primary: #cd0ba2;
--color-primary-rgb: 205 11 162;
--color-primary-hsl: 313 90% 42%;
}
.gradient-cd0ba2 {
background: linear-gradient(135deg, #cd0ba2, #cd0b41);
}
.shadow-cd0ba2 {
box-shadow: 0 8px 24px rgb(205 11 162 / 0.35);
}
Medium Violet Red
#cd0ba2 rgb(205, 11, 162) hsl(313, 90%, 42%) Medium Violet Red
#0bcd36 rgb(11, 205, 54) hsl(133, 90%, 42%) Lime Green
#a2cd0b rgb(162, 205, 11) hsl(73, 90%, 42%) Yellow Green
#0ba2cd rgb(11, 162, 205) hsl(193, 90%, 42%) Bondi Blue