#cd0fa6 ≈ Medium Violet Red
#cd0fa6 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 65.1% blue; printed in CMYK it uses 0% cyan, 92.68% magenta, 19.02% yellow and 19.61% black. Its hue angle is 312.32°, 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 4.98:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.06.
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.1607 |
Shades
#cd0fa6 mixed progressively with black.
Tints
#cd0fa6 mixed progressively with white.
Tones
#cd0fa6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd0fa6 {
color: #cd0fa6;
}
.bg-cd0fa6 {
background-color: #cd0fa6;
color: #ffffff;
}
.border-cd0fa6 {
border: 2px solid #cd0fa6;
}
:root {
--color-primary: #cd0fa6;
--color-primary-rgb: 205 15 166;
--color-primary-hsl: 312 86% 43%;
}
.gradient-cd0fa6 {
background: linear-gradient(135deg, #cd0fa6, #cd0f47);
}
.shadow-cd0fa6 {
box-shadow: 0 8px 24px rgb(205 15 166 / 0.35);
}
Medium Violet Red
#cd0fa6 rgb(205, 15, 166) hsl(312, 86%, 43%) Medium Violet Red
#0fcd36 rgb(15, 205, 54) hsl(132, 86%, 43%) Lime Green
#a6cd0f rgb(166, 205, 15) hsl(72, 86%, 43%) Yellow Green
#0fa6cd rgb(15, 166, 205) hsl(192, 86%, 43%) Bondi Blue