#c400a0 ≈ Medium Violet Red
#c400a0 is a color from the magenta family, with low lightness and vivid saturation. In the RGB model it is made of 76.86% red, 0% green and 62.75% blue; printed in CMYK it uses 0% cyan, 100% magenta, 18.37% yellow and 23.14% black. Its hue angle is 311.02°, with 100% saturation and 38.43% 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.45:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.8.
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.1427 |
Shades
#c400a0 mixed progressively with black.
Tints
#c400a0 mixed progressively with white.
Tones
#c400a0 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c400a0 {
color: #c400a0;
}
.bg-c400a0 {
background-color: #c400a0;
color: #ffffff;
}
.border-c400a0 {
border: 2px solid #c400a0;
}
:root {
--color-primary: #c400a0;
--color-primary-rgb: 196 0 160;
--color-primary-hsl: 311 100% 38%;
}
.gradient-c400a0 {
background: linear-gradient(135deg, #c400a0, #c4003e);
}
.shadow-c400a0 {
box-shadow: 0 8px 24px rgb(196 0 160 / 0.35);
}
Medium Violet Red
#c400a0 rgb(196, 0, 160) hsl(311, 100%, 38%) Medium Violet Red
#00c424 rgb(0, 196, 36) hsl(131, 100%, 38%) Lime Green
#a0c400 rgb(160, 196, 0) hsl(71, 100%, 38%) Yellow Green
#00a0c4 rgb(0, 160, 196) hsl(191, 100%, 38%) Bondi Blue