#d400a1 ≈ Medium Violet Red
#d400a1 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 63.14% blue; printed in CMYK it uses 0% cyan, 100% magenta, 24.06% yellow and 16.86% black. Its hue angle is 314.43°, 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.87:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.16.
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.1657 |
Shades
#d400a1 mixed progressively with black.
Tints
#d400a1 mixed progressively with white.
Tones
#d400a1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d400a1 {
color: #d400a1;
}
.bg-d400a1 {
background-color: #d400a1;
color: #ffffff;
}
.border-d400a1 {
border: 2px solid #d400a1;
}
:root {
--color-primary: #d400a1;
--color-primary-rgb: 212 0 161;
--color-primary-hsl: 314 100% 42%;
}
.gradient-d400a1 {
background: linear-gradient(135deg, #d400a1, #d40037);
}
.shadow-d400a1 {
box-shadow: 0 8px 24px rgb(212 0 161 / 0.35);
}
Medium Violet Red
#d400a1 rgb(212, 0, 161) hsl(314, 100%, 42%) Medium Violet Red
#00d433 rgb(0, 212, 51) hsl(134, 100%, 42%) Lime Green
#a1d400 rgb(161, 212, 0) hsl(74, 100%, 42%) Yellow Green
#00a1d4 rgb(0, 161, 212) hsl(194, 100%, 42%) Carolina Blue