#ef31a5 ≈ Persian Rose
#ef31a5 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 93.73% red, 19.22% green and 64.71% blue; printed in CMYK it uses 0% cyan, 79.5% magenta, 30.96% yellow and 6.27% black. Its hue angle is 323.37°, with 85.59% saturation and 56.47% 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.65:1 (WCAG AA). The closest named color is Persian Rose (#fe28a2), ΔE 2.88.
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.2326 |
Shades
#ef31a5 mixed progressively with black.
Tints
#ef31a5 mixed progressively with white.
Tones
#ef31a5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ef31a5 {
color: #ef31a5;
}
.bg-ef31a5 {
background-color: #ef31a5;
color: #000000;
}
.border-ef31a5 {
border: 2px solid #ef31a5;
}
:root {
--color-primary: #ef31a5;
--color-primary-rgb: 239 49 165;
--color-primary-hsl: 323 86% 56%;
}
.gradient-ef31a5 {
background: linear-gradient(135deg, #ef31a5, #ef3146);
}
.shadow-ef31a5 {
box-shadow: 0 8px 24px rgb(239 49 165 / 0.35);
}
Persian Rose
#ef31a5 rgb(239, 49, 165) hsl(323, 86%, 56%) Persian Rose
#31ef7b rgb(49, 239, 123) hsl(143, 86%, 56%) Spring Green
#a5ef31 rgb(165, 239, 49) hsl(83, 86%, 56%) Spring Bud
#31a5ef rgb(49, 165, 239) hsl(203, 86%, 56%) Carolina Blue