#D404F2

#d404f2 ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#d404f2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 1.57% green and 94.9% blue; printed in CMYK it uses 12.4% cyan, 98.35% magenta, 0% yellow and 5.1% black. Its hue angle is 292.44°, with 96.75% saturation and 48.24% 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.1:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.34.

Description generated from the measured properties of this color.

Conversions of #d404f2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2049

Readable text 4.12:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.1:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #a763b8 ≈ 0.001% of males
Protanopia #0071f7 ≈ 1.01% of males
Deuteranopia #3983ee ≈ 1.27% of males
Tritanopia #d5508f ≈ 0.0001% of males
Protanomaly #8059f5 ≈ 1.08% of males
Deuteranomaly #9267ef ≈ 4.63% of males
Tritanomaly #d53ebf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d404f2 {
  color: #d404f2;
}
Background
.bg-d404f2 {
  background-color: #d404f2;
  color: #000000;
}
Border
.border-d404f2 {
  border: 2px solid #d404f2;
}
CSS variables
:root {
  --color-primary: #d404f2;
  --color-primary-rgb: 212 4 242;
  --color-primary-hsl: 292 97% 48%;
}
Gradient
.gradient-d404f2 {
  background: linear-gradient(135deg, #d404f2, #f20499);
}
Colored shadow
.shadow-d404f2 {
  box-shadow: 0 8px 24px rgb(212 4 242 / 0.35);
}

Electric Purple
#d404f2  rgb(212, 4, 242)  hsl(292, 97%, 48%)  Electric Purple
#22f204  rgb(34, 242, 4)  hsl(112, 97%, 48%)  Lime
#f2d404  rgb(242, 212, 4)  hsl(52, 97%, 48%)  Gold
#04f2d4  rgb(4, 242, 212)  hsl(172, 97%, 48%)  Turquoise Blue