#ec2a9e ≈ Persian Rose
#ec2a9e 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 61.96% blue; printed in CMYK it uses 0% cyan, 82.2% magenta, 33.05% yellow and 7.45% black. Its hue angle is 324.12°, with 83.62% saturation and 54.51% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 5.39:1 (WCAG AA). The closest named color is Persian Rose (#fe28a2), ΔE 3.49.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2196 |
Shades
#ec2a9e mixed progressively with black.
Tints
#ec2a9e mixed progressively with white.
Tones
#ec2a9e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec2a9e {
color: #ec2a9e;
}
.bg-ec2a9e {
background-color: #ec2a9e;
color: #000000;
}
.border-ec2a9e {
border: 2px solid #ec2a9e;
}
:root {
--color-primary: #ec2a9e;
--color-primary-rgb: 236 42 158;
--color-primary-hsl: 324 84% 55%;
}
.gradient-ec2a9e {
background: linear-gradient(135deg, #ec2a9e, #ec2a3d);
}
.shadow-ec2a9e {
box-shadow: 0 8px 24px rgb(236 42 158 / 0.35);
}
Persian Rose
#ec2a9e rgb(236, 42, 158) hsl(324, 84%, 55%) Persian Rose
#2aec78 rgb(42, 236, 120) hsl(144, 84%, 55%) Spring Green
#9eec2a rgb(158, 236, 42) hsl(84, 84%, 55%) Spring Bud
#2a9eec rgb(42, 158, 236) hsl(204, 84%, 55%) Carolina Blue