#ef40a6 ≈ Persian Rose
#ef40a6 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 93.73% red, 25.1% green and 65.1% blue; printed in CMYK it uses 0% cyan, 73.22% magenta, 30.54% yellow and 6.27% black. Its hue angle is 325.03°, with 84.54% saturation and 59.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 call-to-action buttons. Black text on this color reaches a contrast ratio of 5.95:1 (WCAG AA). The closest named color is Persian Rose (#fe28a2), ΔE 2.57.
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.2477 |
Shades
#ef40a6 mixed progressively with black.
Tints
#ef40a6 mixed progressively with white.
Tones
#ef40a6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ef40a6 {
color: #ef40a6;
}
.bg-ef40a6 {
background-color: #ef40a6;
color: #000000;
}
.border-ef40a6 {
border: 2px solid #ef40a6;
}
:root {
--color-primary: #ef40a6;
--color-primary-rgb: 239 64 166;
--color-primary-hsl: 325 85% 59%;
}
.gradient-ef40a6 {
background: linear-gradient(135deg, #ef40a6, #ef404e);
}
.shadow-ef40a6 {
box-shadow: 0 8px 24px rgb(239 64 166 / 0.35);
}
Persian Rose
#ef40a6 rgb(239, 64, 166) hsl(325, 85%, 59%) Persian Rose
#40ef89 rgb(64, 239, 137) hsl(145, 85%, 59%) Medium Spring Green
#a6ef40 rgb(166, 239, 64) hsl(85, 85%, 59%) Inchworm
#40a6ef rgb(64, 166, 239) hsl(205, 85%, 59%) Carolina Blue