#C40EA3

#c40ea3 ≈ Medium Violet Red

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

#c40ea3 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 63.92% blue; printed in CMYK it uses 0% cyan, 92.86% magenta, 16.84% yellow and 23.14% black. Its hue angle is 310.88°, 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.33:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.16.

Description generated from the measured properties of this color.

Conversions of #c40ea3 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.1469

Readable text 5.33:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.94:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #975585 ≈ 0.001% of males
Protanopia #1f5aa6 ≈ 1.01% of males
Deuteranopia #62749f ≈ 1.27% of males
Tritanopia #cf2160 ≈ 0.0001% of males
Protanomaly #8447a5 ≈ 1.08% of males
Deuteranomaly #945ca1 ≈ 4.63% of males
Tritanomaly #cb1b80 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#c40ea3  rgb(196, 14, 163)  hsl(311, 87%, 41%)  Medium Violet Red
#0ec42f  rgb(14, 196, 47)  hsl(131, 87%, 41%)  Lime Green
#a3c40e  rgb(163, 196, 14)  hsl(71, 87%, 41%)  Yellow Green
#0ea3c4  rgb(14, 163, 196)  hsl(191, 87%, 41%)  Bondi Blue