#c52ea6 ≈ Medium Violet Red
#c52ea6 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 77.25% red, 18.04% green and 65.1% blue; printed in CMYK it uses 0% cyan, 76.65% magenta, 15.74% yellow and 22.75% black. Its hue angle is 312.32°, with 62.14% saturation and 47.65% 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 brand accents. 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 6.54.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1658 |
Shades
#c52ea6 mixed progressively with black.
Tints
#c52ea6 mixed progressively with white.
Tones
#c52ea6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c52ea6 {
color: #c52ea6;
}
.bg-c52ea6 {
background-color: #c52ea6;
color: #ffffff;
}
.border-c52ea6 {
border: 2px solid #c52ea6;
}
:root {
--color-primary: #c52ea6;
--color-primary-rgb: 197 46 166;
--color-primary-hsl: 312 62% 48%;
}
.gradient-c52ea6 {
background: linear-gradient(135deg, #c52ea6, #c52e5b);
}
.shadow-c52ea6 {
box-shadow: 0 8px 24px rgb(197 46 166 / 0.35);
}
Medium Violet Red
#c52ea6 rgb(197, 46, 166) hsl(312, 62%, 48%) Medium Violet Red
#2ec54d rgb(46, 197, 77) hsl(132, 62%, 48%) Lime Green
#a6c52e rgb(166, 197, 46) hsl(72, 62%, 48%) Yellow Green
#2ea6c5 rgb(46, 166, 197) hsl(192, 62%, 48%) Bondi Blue