#cf2d97 ≈ Medium Violet Red
#cf2d97 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 17.65% green and 59.22% blue; printed in CMYK it uses 0% cyan, 78.26% magenta, 27.05% yellow and 18.82% black. Its hue angle is 320.74°, with 64.29% saturation and 49.41% 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.69:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.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.1738 |
Shades
#cf2d97 mixed progressively with black.
Tints
#cf2d97 mixed progressively with white.
Tones
#cf2d97 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf2d97 {
color: #cf2d97;
}
.bg-cf2d97 {
background-color: #cf2d97;
color: #ffffff;
}
.border-cf2d97 {
border: 2px solid #cf2d97;
}
:root {
--color-primary: #cf2d97;
--color-primary-rgb: 207 45 151;
--color-primary-hsl: 321 64% 49%;
}
.gradient-cf2d97 {
background: linear-gradient(135deg, #cf2d97, #cf2d46);
}
.shadow-cf2d97 {
box-shadow: 0 8px 24px rgb(207 45 151 / 0.35);
}
Medium Violet Red
#cf2d97 rgb(207, 45, 151) hsl(321, 64%, 49%) Medium Violet Red
#2dcf65 rgb(45, 207, 101) hsl(141, 64%, 49%) Emerald
#97cf2d rgb(151, 207, 45) hsl(81, 64%, 49%) Yellow Green
#2d97cf rgb(45, 151, 207) hsl(201, 64%, 49%) Carolina Blue