#B40586

#b40586 ≈ Medium Violet Red

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

#b40586 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 70.59% red, 1.96% green and 52.55% blue; printed in CMYK it uses 0% cyan, 97.22% magenta, 25.56% yellow and 29.41% black. Its hue angle is 315.77°, with 94.59% saturation and 36.27% 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 6.35:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.96.

Description generated from the measured properties of this color.

Conversions of #b40586 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.1153

Readable text 6.35:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5f5f5f ≈ 0.003% of males
Achromatomaly #894b71 ≈ 0.001% of males
Protanopia #294e89 ≈ 1.01% of males
Deuteranopia #5f6983 ≈ 1.27% of males
Tritanopia #c1034e ≈ 0.0001% of males
Protanomaly #7a3d88 ≈ 1.08% of males
Deuteranomaly #895284 ≈ 4.63% of males
Tritanomaly #bc0469 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#b40586  rgb(180, 5, 134)  hsl(316, 95%, 36%)  Medium Violet Red
#05b433  rgb(5, 180, 51)  hsl(136, 95%, 36%)  Kelly Green
#86b405  rgb(134, 180, 5)  hsl(76, 95%, 36%)  Apple Green
#0586b4  rgb(5, 134, 180)  hsl(196, 95%, 36%)  Cerulean