#cd0fa2 ≈ Medium Violet Red
#cd0fa2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 5.88% green and 63.53% blue; printed in CMYK it uses 0% cyan, 92.68% magenta, 20.98% yellow and 19.61% black. Its hue angle is 313.58°, with 86.36% saturation and 43.14% 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.02:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.35.
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.1593 |
Shades
#cd0fa2 mixed progressively with black.
Tints
#cd0fa2 mixed progressively with white.
Tones
#cd0fa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd0fa2 {
color: #cd0fa2;
}
.bg-cd0fa2 {
background-color: #cd0fa2;
color: #ffffff;
}
.border-cd0fa2 {
border: 2px solid #cd0fa2;
}
:root {
--color-primary: #cd0fa2;
--color-primary-rgb: 205 15 162;
--color-primary-hsl: 314 86% 43%;
}
.gradient-cd0fa2 {
background: linear-gradient(135deg, #cd0fa2, #cd0f43);
}
.shadow-cd0fa2 {
box-shadow: 0 8px 24px rgb(205 15 162 / 0.35);
}
Medium Violet Red
#cd0fa2 rgb(205, 15, 162) hsl(314, 86%, 43%) Medium Violet Red
#0fcd3a rgb(15, 205, 58) hsl(134, 86%, 43%) Lime Green
#a2cd0f rgb(162, 205, 15) hsl(74, 86%, 43%) Yellow Green
#0fa2cd rgb(15, 162, 205) hsl(194, 86%, 43%) Bondi Blue