#BA06AA

#ba06aa ≈ Medium Violet Red

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

#ba06aa is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 72.94% red, 2.35% green and 66.67% blue; printed in CMYK it uses 0% cyan, 96.77% magenta, 8.6% yellow and 27.06% black. Its hue angle is 305.33°, with 93.75% saturation and 37.65% 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.68:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 8.63.

Description generated from the measured properties of this color.

Conversions of #ba06aa 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.1347

Readable text 5.68:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.69:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #905187 ≈ 0.001% of males
Protanopia #0058ae ≈ 1.01% of males
Deuteranopia #556fa6 ≈ 1.27% of males
Tritanopia #c32963 ≈ 0.0001% of males
Protanomaly #7a45ac ≈ 1.08% of males
Deuteranomaly #8957a8 ≈ 4.63% of males
Tritanomaly #bf2085 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba06aa {
  color: #ba06aa;
}
Background
.bg-ba06aa {
  background-color: #ba06aa;
  color: #ffffff;
}
Border
.border-ba06aa {
  border: 2px solid #ba06aa;
}
CSS variables
:root {
  --color-primary: #ba06aa;
  --color-primary-rgb: 186 6 170;
  --color-primary-hsl: 305 94% 38%;
}
Gradient
.gradient-ba06aa {
  background: linear-gradient(135deg, #ba06aa, #ba0650);
}
Colored shadow
.shadow-ba06aa {
  box-shadow: 0 8px 24px rgb(186 6 170 / 0.35);
}

Medium Violet Red
#ba06aa  rgb(186, 6, 170)  hsl(305, 94%, 38%)  Medium Violet Red
#06ba16  rgb(6, 186, 22)  hsl(125, 94%, 38%)  Kelly Green
#aaba06  rgb(170, 186, 6)  hsl(65, 94%, 38%)  Apple Green
#06aaba  rgb(6, 170, 186)  hsl(185, 94%, 38%)  Cadet Blue