#D112E2

#d112e2 ≈ Electric Purple

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

#d112e2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.96% red, 7.06% green and 88.63% blue; printed in CMYK it uses 7.52% cyan, 92.04% magenta, 0% yellow and 11.37% black. Its hue angle is 295.1°, with 85.25% saturation and 47.84% 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 4.9:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.32.

Description generated from the measured properties of this color.

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

Readable text 4.29:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #a461ae ≈ 0.001% of males
Protanopia #006de7 ≈ 1.01% of males
Deuteranopia #4981de ≈ 1.27% of males
Tritanopia #d54a86 ≈ 0.0001% of males
Protanomaly #8257e5 ≈ 1.08% of males
Deuteranomaly #9466e0 ≈ 4.63% of males
Tritanomaly #d33bb2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d112e2 {
  color: #d112e2;
}
Background
.bg-d112e2 {
  background-color: #d112e2;
  color: #000000;
}
Border
.border-d112e2 {
  border: 2px solid #d112e2;
}
CSS variables
:root {
  --color-primary: #d112e2;
  --color-primary-rgb: 209 18 226;
  --color-primary-hsl: 295 85% 48%;
}
Gradient
.gradient-d112e2 {
  background: linear-gradient(135deg, #d112e2, #e2128b);
}
Colored shadow
.shadow-d112e2 {
  box-shadow: 0 8px 24px rgb(209 18 226 / 0.35);
}

Electric Purple
#d112e2  rgb(209, 18, 226)  hsl(295, 85%, 48%)  Electric Purple
#23e212  rgb(35, 226, 18)  hsl(115, 85%, 48%)  Malachite
#e2d112  rgb(226, 209, 18)  hsl(55, 85%, 48%)  Citrine
#12e2d1  rgb(18, 226, 209)  hsl(175, 85%, 48%)  Turquoise