#cf2a98 ≈ Medium Violet Red
#cf2a98 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 16.47% green and 59.61% blue; printed in CMYK it uses 0% cyan, 79.71% magenta, 26.57% yellow and 18.82% black. Its hue angle is 320°, with 66.27% saturation and 48.82% 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.73:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.22.
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.1719 |
Shades
#cf2a98 mixed progressively with black.
Tints
#cf2a98 mixed progressively with white.
Tones
#cf2a98 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf2a98 {
color: #cf2a98;
}
.bg-cf2a98 {
background-color: #cf2a98;
color: #ffffff;
}
.border-cf2a98 {
border: 2px solid #cf2a98;
}
:root {
--color-primary: #cf2a98;
--color-primary-rgb: 207 42 152;
--color-primary-hsl: 320 66% 49%;
}
.gradient-cf2a98 {
background: linear-gradient(135deg, #cf2a98, #cf2a45);
}
.shadow-cf2a98 {
box-shadow: 0 8px 24px rgb(207 42 152 / 0.35);
}
Medium Violet Red
#cf2a98 rgb(207, 42, 152) hsl(320, 66%, 49%) Medium Violet Red
#2acf61 rgb(42, 207, 97) hsl(140, 66%, 49%) Malachite
#98cf2a rgb(152, 207, 42) hsl(80, 66%, 49%) Yellow Green
#2a98cf rgb(42, 152, 207) hsl(200, 66%, 49%) Carolina Blue