#cd00a6 ≈ Medium Violet Red
#cd00a6 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 0% green and 65.1% blue; printed in CMYK it uses 0% cyan, 100% magenta, 19.02% yellow and 19.61% black. Its hue angle is 311.41°, with 100% saturation and 40.2% 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.06:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.09.
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.1573 |
Shades
#cd00a6 mixed progressively with black.
Tints
#cd00a6 mixed progressively with white.
Tones
#cd00a6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd00a6 {
color: #cd00a6;
}
.bg-cd00a6 {
background-color: #cd00a6;
color: #ffffff;
}
.border-cd00a6 {
border: 2px solid #cd00a6;
}
:root {
--color-primary: #cd00a6;
--color-primary-rgb: 205 0 166;
--color-primary-hsl: 311 100% 40%;
}
.gradient-cd00a6 {
background: linear-gradient(135deg, #cd00a6, #cd0040);
}
.shadow-cd00a6 {
box-shadow: 0 8px 24px rgb(205 0 166 / 0.35);
}
Medium Violet Red
#cd00a6 rgb(205, 0, 166) hsl(311, 100%, 40%) Medium Violet Red
#00cd27 rgb(0, 205, 39) hsl(131, 100%, 40%) Lime Green
#a6cd00 rgb(166, 205, 0) hsl(71, 100%, 40%) Yellow Green
#00a6cd rgb(0, 166, 205) hsl(191, 100%, 40%) Bondi Blue