#cc238c ≈ Medium Violet Red
#cc238c is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 13.73% green and 54.9% blue; printed in CMYK it uses 0% cyan, 82.84% magenta, 31.37% yellow and 20% black. Its hue angle is 322.72°, with 70.71% saturation and 46.86% 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.02:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.08.
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.1593 |
Shades
#cc238c mixed progressively with black.
Tints
#cc238c mixed progressively with white.
Tones
#cc238c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc238c {
color: #cc238c;
}
.bg-cc238c {
background-color: #cc238c;
color: #ffffff;
}
.border-cc238c {
border: 2px solid #cc238c;
}
:root {
--color-primary: #cc238c;
--color-primary-rgb: 204 35 140;
--color-primary-hsl: 323 71% 47%;
}
.gradient-cc238c {
background: linear-gradient(135deg, #cc238c, #cc2338);
}
.shadow-cc238c {
box-shadow: 0 8px 24px rgb(204 35 140 / 0.35);
}
Medium Violet Red
#cc238c rgb(204, 35, 140) hsl(323, 71%, 47%) Medium Violet Red
#23cc63 rgb(35, 204, 99) hsl(143, 71%, 47%) Emerald
#8ccc23 rgb(140, 204, 35) hsl(83, 71%, 47%) Yellow Green
#238ccc rgb(35, 140, 204) hsl(203, 71%, 47%) Steel Blue