#d42fec ≈ Medium Orchid
#d42fec is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 83.14% red, 18.43% green and 92.55% blue; printed in CMYK it uses 10.17% cyan, 80.08% magenta, 0% yellow and 7.45% black. Its hue angle is 292.38°, with 83.26% saturation and 55.49% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 5.42:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 5.52.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2209 |
Shades
#d42fec mixed progressively with black.
Tints
#d42fec mixed progressively with white.
Tones
#d42fec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d42fec {
color: #d42fec;
}
.bg-d42fec {
background-color: #d42fec;
color: #000000;
}
.border-d42fec {
border: 2px solid #d42fec;
}
:root {
--color-primary: #d42fec;
--color-primary-rgb: 212 47 236;
--color-primary-hsl: 292 83% 55%;
}
.gradient-d42fec {
background: linear-gradient(135deg, #d42fec, #ec2fa6);
}
.shadow-d42fec {
box-shadow: 0 8px 24px rgb(212 47 236 / 0.35);
}
Medium Orchid
#d42fec rgb(212, 47, 236) hsl(292, 83%, 55%) Medium Orchid
#47ec2f rgb(71, 236, 47) hsl(112, 83%, 55%) Neon Green
#ecd42f rgb(236, 212, 47) hsl(52, 83%, 55%) Citrine
#2fecd4 rgb(47, 236, 212) hsl(172, 83%, 55%) Turquoise