#cf28ac ≈ Medium Violet Red
#cf28ac is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 15.69% green and 67.45% blue; printed in CMYK it uses 0% cyan, 80.68% magenta, 16.91% yellow and 18.82% black. Its hue angle is 312.57°, with 67.61% saturation and 48.43% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 4.61:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.29.
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.1776 |
Shades
#cf28ac mixed progressively with black.
Tints
#cf28ac mixed progressively with white.
Tones
#cf28ac mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf28ac {
color: #cf28ac;
}
.bg-cf28ac {
background-color: #cf28ac;
color: #ffffff;
}
.border-cf28ac {
border: 2px solid #cf28ac;
}
:root {
--color-primary: #cf28ac;
--color-primary-rgb: 207 40 172;
--color-primary-hsl: 313 68% 48%;
}
.gradient-cf28ac {
background: linear-gradient(135deg, #cf28ac, #cf2859);
}
.shadow-cf28ac {
box-shadow: 0 8px 24px rgb(207 40 172 / 0.35);
}
Medium Violet Red
#cf28ac rgb(207, 40, 172) hsl(313, 68%, 48%) Medium Violet Red
#28cf4b rgb(40, 207, 75) hsl(133, 68%, 48%) Lime Green
#accf28 rgb(172, 207, 40) hsl(73, 68%, 48%) Yellow Green
#28accf rgb(40, 172, 207) hsl(193, 68%, 48%) Moonstone Blue