#ec2a7e ≈ Rose
#ec2a7e is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 16.47% green and 49.41% blue; printed in CMYK it uses 0% cyan, 82.2% magenta, 46.61% yellow and 7.45% black. Its hue angle is 334.02°, with 83.62% saturation and 54.51% lightness in HSL. It is a warm color, often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and call-to-action buttons. Black text on this color reaches a contrast ratio of 5.2:1 (WCAG AA). The closest named color is Rose (#ff007f), ΔE 2.93.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff3366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.21 |
Shades
#ec2a7e mixed progressively with black.
Tints
#ec2a7e mixed progressively with white.
Tones
#ec2a7e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec2a7e {
color: #ec2a7e;
}
.bg-ec2a7e {
background-color: #ec2a7e;
color: #000000;
}
.border-ec2a7e {
border: 2px solid #ec2a7e;
}
:root {
--color-primary: #ec2a7e;
--color-primary-rgb: 236 42 126;
--color-primary-hsl: 334 84% 55%;
}
.gradient-ec2a7e {
background: linear-gradient(135deg, #ec2a7e, #ec372a);
}
.shadow-ec2a7e {
box-shadow: 0 8px 24px rgb(236 42 126 / 0.35);
}
Rose
#ec2a7e rgb(236, 42, 126) hsl(334, 84%, 55%) Rose
#2aec98 rgb(42, 236, 152) hsl(154, 84%, 55%) Medium Spring Green
#7eec2a rgb(126, 236, 42) hsl(94, 84%, 55%) Lawn Green
#2a7eec rgb(42, 126, 236) hsl(214, 84%, 55%) Tufts Blue