#C40586

#c40586 ≈ Medium Violet Red

  • magenta
  • Lightness: low
  • Saturation: strong
  • Balanced

#c40586 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 76.86% red, 1.96% green and 52.55% blue; printed in CMYK it uses 0% cyan, 97.45% magenta, 31.63% yellow and 23.14% black. Its hue angle is 319.48°, with 95.02% saturation and 39.41% 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.66:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.41.

Description generated from the measured properties of this color.

Conversions of #c40586 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.1357

Readable text 5.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.71:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #955175 ≈ 0.001% of males
Protanopia #365489 ≈ 1.01% of males
Deuteranopia #6c7282 ≈ 1.27% of males
Tritanopia #d3004e ≈ 0.0001% of males
Protanomaly #874188 ≈ 1.08% of males
Deuteranomaly #975984 ≈ 4.63% of males
Tritanomaly #cd0069 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c40586 {
  color: #c40586;
}
Background
.bg-c40586 {
  background-color: #c40586;
  color: #ffffff;
}
Border
.border-c40586 {
  border: 2px solid #c40586;
}
CSS variables
:root {
  --color-primary: #c40586;
  --color-primary-rgb: 196 5 134;
  --color-primary-hsl: 319 95% 39%;
}
Gradient
.gradient-c40586 {
  background: linear-gradient(135deg, #c40586, #c40526);
}
Colored shadow
.shadow-c40586 {
  box-shadow: 0 8px 24px rgb(196 5 134 / 0.35);
}

Medium Violet Red
#c40586  rgb(196, 5, 134)  hsl(319, 95%, 39%)  Medium Violet Red
#05c443  rgb(5, 196, 67)  hsl(139, 95%, 39%)  Lime Green
#86c405  rgb(134, 196, 5)  hsl(79, 95%, 39%)  Yellow Green
#0586c4  rgb(5, 134, 196)  hsl(199, 95%, 39%)  Steel Blue