#cd238a ≈ Medium Violet Red
#cd238a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 13.73% green and 54.12% blue; printed in CMYK it uses 0% cyan, 82.93% magenta, 32.68% yellow and 19.61% black. Its hue angle is 323.65°, with 70.83% saturation and 47.06% 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:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.16.
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.1602 |
Shades
#cd238a mixed progressively with black.
Tints
#cd238a mixed progressively with white.
Tones
#cd238a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd238a {
color: #cd238a;
}
.bg-cd238a {
background-color: #cd238a;
color: #ffffff;
}
.border-cd238a {
border: 2px solid #cd238a;
}
:root {
--color-primary: #cd238a;
--color-primary-rgb: 205 35 138;
--color-primary-hsl: 324 71% 47%;
}
.gradient-cd238a {
background: linear-gradient(135deg, #cd238a, #cd2335);
}
.shadow-cd238a {
box-shadow: 0 8px 24px rgb(205 35 138 / 0.35);
}
Medium Violet Red
#cd238a rgb(205, 35, 138) hsl(324, 71%, 47%) Medium Violet Red
#23cd66 rgb(35, 205, 102) hsl(144, 71%, 47%) Emerald
#8acd23 rgb(138, 205, 35) hsl(84, 71%, 47%) Yellow Green
#238acd rgb(35, 138, 205) hsl(204, 71%, 47%) Steel Blue