#C40EA0

#c40ea0 ≈ Medium Violet Red

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

#c40ea0 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 76.86% red, 5.49% green and 62.75% blue; printed in CMYK it uses 0% cyan, 92.86% magenta, 18.37% yellow and 23.14% black. Its hue angle is 311.87°, with 86.67% saturation and 41.18% 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. White text on this color reaches a contrast ratio of 5.36:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.64.

Description generated from the measured properties of this color.

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

Readable text 5.36:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.92:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #975483 ≈ 0.001% of males
Protanopia #235aa3 ≈ 1.01% of males
Deuteranopia #64749c ≈ 1.27% of males
Tritanopia #d01e5e ≈ 0.0001% of males
Protanomaly #8447a2 ≈ 1.08% of males
Deuteranomaly #945c9e ≈ 4.63% of males
Tritanomaly #cb187e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c40ea0 {
  color: #c40ea0;
}
Background
.bg-c40ea0 {
  background-color: #c40ea0;
  color: #ffffff;
}
Border
.border-c40ea0 {
  border: 2px solid #c40ea0;
}
CSS variables
:root {
  --color-primary: #c40ea0;
  --color-primary-rgb: 196 14 160;
  --color-primary-hsl: 312 87% 41%;
}
Gradient
.gradient-c40ea0 {
  background: linear-gradient(135deg, #c40ea0, #c40e45);
}
Colored shadow
.shadow-c40ea0 {
  box-shadow: 0 8px 24px rgb(196 14 160 / 0.35);
}

Medium Violet Red
#c40ea0  rgb(196, 14, 160)  hsl(312, 87%, 41%)  Medium Violet Red
#0ec432  rgb(14, 196, 50)  hsl(132, 87%, 41%)  Lime Green
#a0c40e  rgb(160, 196, 14)  hsl(72, 87%, 41%)  Yellow Green
#0ea0c4  rgb(14, 160, 196)  hsl(192, 87%, 41%)  Bondi Blue