#c8228b ≈ Medium Violet Red
#c8228b is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 13.33% green and 54.51% blue; printed in CMYK it uses 0% cyan, 83% magenta, 30.5% yellow and 21.57% black. Its hue angle is 322.05°, with 70.94% saturation and 45.88% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and brand accents. White text on this color reaches a contrast ratio of 5.18:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.46.
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.1529 |
Shades
#c8228b mixed progressively with black.
Tints
#c8228b mixed progressively with white.
Tones
#c8228b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8228b {
color: #c8228b;
}
.bg-c8228b {
background-color: #c8228b;
color: #ffffff;
}
.border-c8228b {
border: 2px solid #c8228b;
}
:root {
--color-primary: #c8228b;
--color-primary-rgb: 200 34 139;
--color-primary-hsl: 322 71% 46%;
}
.gradient-c8228b {
background: linear-gradient(135deg, #c8228b, #c82238);
}
.shadow-c8228b {
box-shadow: 0 8px 24px rgb(200 34 139 / 0.35);
}
Medium Violet Red
#c8228b rgb(200, 34, 139) hsl(322, 71%, 46%) Medium Violet Red
#22c85f rgb(34, 200, 95) hsl(142, 71%, 46%) Emerald
#8bc822 rgb(139, 200, 34) hsl(82, 71%, 46%) Yellow Green
#228bc8 rgb(34, 139, 200) hsl(202, 71%, 46%) Steel Blue