#cf217e ≈ Medium Violet Red
#cf217e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 12.94% green and 49.41% blue; printed in CMYK it uses 0% cyan, 84.06% magenta, 39.13% yellow and 18.82% black. Its hue angle is 327.93°, with 72.5% 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.03:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.49.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1586 |
Shades
#cf217e mixed progressively with black.
Tints
#cf217e mixed progressively with white.
Tones
#cf217e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf217e {
color: #cf217e;
}
.bg-cf217e {
background-color: #cf217e;
color: #ffffff;
}
.border-cf217e {
border: 2px solid #cf217e;
}
:root {
--color-primary: #cf217e;
--color-primary-rgb: 207 33 126;
--color-primary-hsl: 328 73% 47%;
}
.gradient-cf217e {
background: linear-gradient(135deg, #cf217e, #cf2127);
}
.shadow-cf217e {
box-shadow: 0 8px 24px rgb(207 33 126 / 0.35);
}
Medium Violet Red
#cf217e rgb(207, 33, 126) hsl(328, 73%, 47%) Medium Violet Red
#21cf72 rgb(33, 207, 114) hsl(148, 73%, 47%) Emerald
#7ecf21 rgb(126, 207, 33) hsl(88, 73%, 47%) Yellow Green
#217ecf rgb(33, 126, 207) hsl(208, 73%, 47%) Tufts Blue