#f31fa8 ≈ Persian Rose
#f31fa8 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 95.29% red, 12.16% green and 65.88% blue; printed in CMYK it uses 0% cyan, 87.24% magenta, 30.86% yellow and 4.71% black. Its hue angle is 321.23°, with 89.83% saturation and 53.73% 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.57:1 (WCAG AA). The closest named color is Persian Rose (#fe28a2), ΔE 3.35.
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.2286 |
Shades
#f31fa8 mixed progressively with black.
Tints
#f31fa8 mixed progressively with white.
Tones
#f31fa8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f31fa8 {
color: #f31fa8;
}
.bg-f31fa8 {
background-color: #f31fa8;
color: #000000;
}
.border-f31fa8 {
border: 2px solid #f31fa8;
}
:root {
--color-primary: #f31fa8;
--color-primary-rgb: 243 31 168;
--color-primary-hsl: 321 90% 54%;
}
.gradient-f31fa8 {
background: linear-gradient(135deg, #f31fa8, #f31f3e);
}
.shadow-f31fa8 {
box-shadow: 0 8px 24px rgb(243 31 168 / 0.35);
}
Persian Rose
#f31fa8 rgb(243, 31, 168) hsl(321, 90%, 54%) Persian Rose
#1ff36a rgb(31, 243, 106) hsl(141, 90%, 54%) Spring Green
#a8f31f rgb(168, 243, 31) hsl(81, 90%, 54%) Spring Bud
#1fa8f3 rgb(31, 168, 243) hsl(201, 90%, 54%) Carolina Blue