#BA059B

#ba059b ≈ Medium Violet Red

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

#ba059b is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 72.94% red, 1.96% green and 60.78% blue; printed in CMYK it uses 0% cyan, 97.31% magenta, 16.67% yellow and 27.06% black. Its hue angle is 310.28°, with 94.76% saturation and 37.45% 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.86:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.39.

Description generated from the measured properties of this color.

Conversions of #ba059b 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.1291

Readable text 5.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.58:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #8f4f7e ≈ 0.001% of males
Protanopia #18559e ≈ 1.01% of males
Deuteranopia #5c6d98 ≈ 1.27% of males
Tritanopia #c51c5a ≈ 0.0001% of males
Protanomaly #7c429d ≈ 1.08% of males
Deuteranomaly #8c5699 ≈ 4.63% of males
Tritanomaly #c11579 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba059b {
  color: #ba059b;
}
Background
.bg-ba059b {
  background-color: #ba059b;
  color: #ffffff;
}
Border
.border-ba059b {
  border: 2px solid #ba059b;
}
CSS variables
:root {
  --color-primary: #ba059b;
  --color-primary-rgb: 186 5 155;
  --color-primary-hsl: 310 95% 37%;
}
Gradient
.gradient-ba059b {
  background: linear-gradient(135deg, #ba059b, #ba0540);
}
Colored shadow
.shadow-ba059b {
  box-shadow: 0 8px 24px rgb(186 5 155 / 0.35);
}

Medium Violet Red
#ba059b  rgb(186, 5, 155)  hsl(310, 95%, 37%)  Medium Violet Red
#05ba24  rgb(5, 186, 36)  hsl(130, 95%, 37%)  Kelly Green
#9bba05  rgb(155, 186, 5)  hsl(70, 95%, 37%)  Apple Green
#059bba  rgb(5, 155, 186)  hsl(190, 95%, 37%)  Bondi Blue