#C040EA

#c040ea ≈ Medium Orchid

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

#c040ea is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 75.29% red, 25.1% green and 91.76% blue; printed in CMYK it uses 17.95% cyan, 72.65% magenta, 0% yellow and 8.24% black. Its hue angle is 285.18°, 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.16:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 4.37.

Description generated from the measured properties of this color.

Conversions of #c040ea 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.2081

Readable text 4.07:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.16:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #9d6ab4 ≈ 0.001% of males
Protanopia #0076ef ≈ 1.01% of males
Deuteranopia #3f81e6 ≈ 1.27% of males
Tritanopia #bd6492 ≈ 0.0001% of males
Protanomaly #7965ed ≈ 1.08% of males
Deuteranomaly #876de8 ≈ 4.63% of males
Tritanomaly #be58bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Orchid
#c040ea  rgb(192, 64, 234)  hsl(285, 80%, 58%)  Medium Orchid
#6aea40  rgb(106, 234, 64)  hsl(105, 80%, 58%)  Neon Green
#eac040  rgb(234, 192, 64)  hsl(45, 80%, 58%)  Saffron
#40eac0  rgb(64, 234, 192)  hsl(165, 80%, 58%)  Aquamarine