#D040EA

#d040ea ≈ Medium Orchid

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#d040ea is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 25.1% green and 91.76% blue; printed in CMYK it uses 11.11% cyan, 72.65% magenta, 0% yellow and 8.24% black. Its hue angle is 290.82°, with 80.19% saturation and 58.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 call-to-action buttons. Black text on this color reaches a contrast ratio of 5.6:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 4.47.

Description generated from the measured properties of this color.

Conversions of #d040ea into other color spaces
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 luminance0.2302

Readable text 3.75:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #848484 ≈ 0.003% of males
Achromatomaly #a86fb6 ≈ 0.001% of males
Protanopia #007aef ≈ 1.01% of males
Deuteranopia #5489e6 ≈ 1.27% of males
Tritanopia #d16192 ≈ 0.0001% of males
Protanomaly #8767ed ≈ 1.08% of males
Deuteranomaly #9673e8 ≈ 4.63% of males
Tritanomaly #d156bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d040ea {
  color: #d040ea;
}
Background
.bg-d040ea {
  background-color: #d040ea;
  color: #000000;
}
Border
.border-d040ea {
  border: 2px solid #d040ea;
}
CSS variables
:root {
  --color-primary: #d040ea;
  --color-primary-rgb: 208 64 234;
  --color-primary-hsl: 291 80% 58%;
}
Gradient
.gradient-d040ea {
  background: linear-gradient(135deg, #d040ea, #ea40af);
}
Colored shadow
.shadow-d040ea {
  box-shadow: 0 8px 24px rgb(208 64 234 / 0.35);
}

Medium Orchid
#d040ea  rgb(208, 64, 234)  hsl(291, 80%, 58%)  Medium Orchid
#5aea40  rgb(90, 234, 64)  hsl(111, 80%, 58%)  Neon Green
#ead040  rgb(234, 208, 64)  hsl(51, 80%, 58%)  Citrine
#40ead0  rgb(64, 234, 208)  hsl(171, 80%, 58%)  Turquoise