#cf218c ≈ Medium Violet Red
#cf218c 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 54.9% blue; printed in CMYK it uses 0% cyan, 84.06% magenta, 32.37% yellow and 18.82% black. Its hue angle is 323.1°, 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 4.94:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.44.
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.1625 |
Shades
#cf218c mixed progressively with black.
Tints
#cf218c mixed progressively with white.
Tones
#cf218c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf218c {
color: #cf218c;
}
.bg-cf218c {
background-color: #cf218c;
color: #ffffff;
}
.border-cf218c {
border: 2px solid #cf218c;
}
:root {
--color-primary: #cf218c;
--color-primary-rgb: 207 33 140;
--color-primary-hsl: 323 73% 47%;
}
.gradient-cf218c {
background: linear-gradient(135deg, #cf218c, #cf2135);
}
.shadow-cf218c {
box-shadow: 0 8px 24px rgb(207 33 140 / 0.35);
}
Medium Violet Red
#cf218c rgb(207, 33, 140) hsl(323, 73%, 47%) Medium Violet Red
#21cf64 rgb(33, 207, 100) hsl(143, 73%, 47%) Malachite
#8ccf21 rgb(140, 207, 33) hsl(83, 73%, 47%) Yellow Green
#218ccf rgb(33, 140, 207) hsl(203, 73%, 47%) Bleu de France