#ca178a ≈ Medium Violet Red
#ca178a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 9.02% green and 54.12% blue; printed in CMYK it uses 0% cyan, 88.61% magenta, 31.68% yellow and 20.78% black. Its hue angle is 321.45°, with 79.56% saturation and 44.12% 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.25:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.04.
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.15 |
Shades
#ca178a mixed progressively with black.
Tints
#ca178a mixed progressively with white.
Tones
#ca178a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ca178a {
color: #ca178a;
}
.bg-ca178a {
background-color: #ca178a;
color: #ffffff;
}
.border-ca178a {
border: 2px solid #ca178a;
}
:root {
--color-primary: #ca178a;
--color-primary-rgb: 202 23 138;
--color-primary-hsl: 321 80% 44%;
}
.gradient-ca178a {
background: linear-gradient(135deg, #ca178a, #ca1731);
}
.shadow-ca178a {
box-shadow: 0 8px 24px rgb(202 23 138 / 0.35);
}
Medium Violet Red
#ca178a rgb(202, 23, 138) hsl(321, 80%, 44%) Medium Violet Red
#17ca57 rgb(23, 202, 87) hsl(141, 80%, 44%) Malachite
#8aca17 rgb(138, 202, 23) hsl(81, 80%, 44%) Yellow Green
#178aca rgb(23, 138, 202) hsl(201, 80%, 44%) Steel Blue