#cd167a ≈ Medium Violet Red
#cd167a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 8.63% green and 47.84% blue; printed in CMYK it uses 0% cyan, 89.27% magenta, 40.49% yellow and 19.61% black. Its hue angle is 327.21°, with 80.62% saturation and 44.51% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.26:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.26.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1496 |
Shades
#cd167a mixed progressively with black.
Tints
#cd167a mixed progressively with white.
Tones
#cd167a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd167a {
color: #cd167a;
}
.bg-cd167a {
background-color: #cd167a;
color: #ffffff;
}
.border-cd167a {
border: 2px solid #cd167a;
}
:root {
--color-primary: #cd167a;
--color-primary-rgb: 205 22 122;
--color-primary-hsl: 327 81% 45%;
}
.gradient-cd167a {
background: linear-gradient(135deg, #cd167a, #cd161f);
}
.shadow-cd167a {
box-shadow: 0 8px 24px rgb(205 22 122 / 0.35);
}
Medium Violet Red
#cd167a rgb(205, 22, 122) hsl(327, 81%, 45%) Medium Violet Red
#16cd69 rgb(22, 205, 105) hsl(147, 81%, 45%) Emerald
#7acd16 rgb(122, 205, 22) hsl(87, 81%, 45%) Yellow Green
#167acd rgb(22, 122, 205) hsl(207, 81%, 45%) True Blue