#d400a0 ≈ Medium Violet Red
#d400a0 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 0% green and 62.75% blue; printed in CMYK it uses 0% cyan, 100% magenta, 24.53% yellow and 16.86% black. Its hue angle is 314.72°, with 100% saturation and 41.57% 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.88:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.99.
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.1654 |
Shades
#d400a0 mixed progressively with black.
Tints
#d400a0 mixed progressively with white.
Tones
#d400a0 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d400a0 {
color: #d400a0;
}
.bg-d400a0 {
background-color: #d400a0;
color: #ffffff;
}
.border-d400a0 {
border: 2px solid #d400a0;
}
:root {
--color-primary: #d400a0;
--color-primary-rgb: 212 0 160;
--color-primary-hsl: 315 100% 42%;
}
.gradient-d400a0 {
background: linear-gradient(135deg, #d400a0, #d40036);
}
.shadow-d400a0 {
box-shadow: 0 8px 24px rgb(212 0 160 / 0.35);
}
Medium Violet Red
#d400a0 rgb(212, 0, 160) hsl(315, 100%, 42%) Medium Violet Red
#00d434 rgb(0, 212, 52) hsl(135, 100%, 42%) Lime Green
#a0d400 rgb(160, 212, 0) hsl(75, 100%, 42%) Yellow Green
#00a0d4 rgb(0, 160, 212) hsl(195, 100%, 42%) Carolina Blue