#c4018a ≈ Medium Violet Red
#c4018a 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.39% green and 54.12% blue; printed in CMYK it uses 0% cyan, 99.49% magenta, 29.59% yellow and 23.14% black. Its hue angle is 317.85°, with 98.98% saturation and 38.63% 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.65:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.05.
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.1359 |
Shades
#c4018a mixed progressively with black.
Tints
#c4018a mixed progressively with white.
Tones
#c4018a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c4018a {
color: #c4018a;
}
.bg-c4018a {
background-color: #c4018a;
color: #ffffff;
}
.border-c4018a {
border: 2px solid #c4018a;
}
:root {
--color-primary: #c4018a;
--color-primary-rgb: 196 1 138;
--color-primary-hsl: 318 99% 39%;
}
.gradient-c4018a {
background: linear-gradient(135deg, #c4018a, #c40128);
}
.shadow-c4018a {
box-shadow: 0 8px 24px rgb(196 1 138 / 0.35);
}
Medium Violet Red
#c4018a rgb(196, 1, 138) hsl(318, 99%, 39%) Medium Violet Red
#01c43b rgb(1, 196, 59) hsl(138, 99%, 39%) Lime Green
#8ac401 rgb(138, 196, 1) hsl(78, 99%, 39%) Yellow Green
#018ac4 rgb(1, 138, 196) hsl(198, 99%, 39%) Steel Blue