#d81fa7 ≈ Medium Violet Red
#d81fa7 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 12.16% green and 65.49% blue; printed in CMYK it uses 0% cyan, 85.65% magenta, 22.69% yellow and 15.29% black. Its hue angle is 315.89°, with 74.9% saturation and 48.43% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. Black text on this color reaches a contrast ratio of 4.67:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.65.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1837 |
Shades
#d81fa7 mixed progressively with black.
Tints
#d81fa7 mixed progressively with white.
Tones
#d81fa7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d81fa7 {
color: #d81fa7;
}
.bg-d81fa7 {
background-color: #d81fa7;
color: #000000;
}
.border-d81fa7 {
border: 2px solid #d81fa7;
}
:root {
--color-primary: #d81fa7;
--color-primary-rgb: 216 31 167;
--color-primary-hsl: 316 75% 48%;
}
.gradient-d81fa7 {
background: linear-gradient(135deg, #d81fa7, #d81f4b);
}
.shadow-d81fa7 {
box-shadow: 0 8px 24px rgb(216 31 167 / 0.35);
}
Medium Violet Red
#d81fa7 rgb(216, 31, 167) hsl(316, 75%, 48%) Medium Violet Red
#1fd850 rgb(31, 216, 80) hsl(136, 75%, 48%) Malachite
#a7d81f rgb(167, 216, 31) hsl(76, 75%, 48%) Yellow Green
#1fa7d8 rgb(31, 167, 216) hsl(196, 75%, 48%) Carolina Blue