#cf167a ≈ Medium Violet Red
#cf167a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 8.63% green and 47.84% blue; printed in CMYK it uses 0% cyan, 89.37% magenta, 41.06% yellow and 18.82% black. Its hue angle is 327.57°, with 80.79% saturation and 44.9% 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.19:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.61.
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.1524 |
Shades
#cf167a mixed progressively with black.
Tints
#cf167a mixed progressively with white.
Tones
#cf167a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf167a {
color: #cf167a;
}
.bg-cf167a {
background-color: #cf167a;
color: #ffffff;
}
.border-cf167a {
border: 2px solid #cf167a;
}
:root {
--color-primary: #cf167a;
--color-primary-rgb: 207 22 122;
--color-primary-hsl: 328 81% 45%;
}
.gradient-cf167a {
background: linear-gradient(135deg, #cf167a, #cf161d);
}
.shadow-cf167a {
box-shadow: 0 8px 24px rgb(207 22 122 / 0.35);
}
Medium Violet Red
#cf167a rgb(207, 22, 122) hsl(328, 81%, 45%) Medium Violet Red
#16cf6b rgb(22, 207, 107) hsl(148, 81%, 45%) Emerald
#7acf16 rgb(122, 207, 22) hsl(88, 81%, 45%) Yellow Green
#167acf rgb(22, 122, 207) hsl(208, 81%, 45%) True Blue