#BA00A6

#ba00a6 ≈ Medium Violet Red

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

#ba00a6 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 72.94% red, 0% green and 65.1% blue; printed in CMYK it uses 0% cyan, 100% magenta, 10.75% yellow and 27.06% black. Its hue angle is 306.45°, with 100% saturation and 36.47% 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.77:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 8.12.

Description generated from the measured properties of this color.

Conversions of #ba00a6 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.1319

Readable text 5.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.64:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #8f4f84 ≈ 0.001% of males
Protanopia #0056a9 ≈ 1.01% of males
Deuteranopia #566ea2 ≈ 1.27% of males
Tritanopia #c32460 ≈ 0.0001% of males
Protanomaly #7a43a8 ≈ 1.08% of males
Deuteranomaly #8a56a4 ≈ 4.63% of males
Tritanomaly #c01b82 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba00a6 {
  color: #ba00a6;
}
Background
.bg-ba00a6 {
  background-color: #ba00a6;
  color: #ffffff;
}
Border
.border-ba00a6 {
  border: 2px solid #ba00a6;
}
CSS variables
:root {
  --color-primary: #ba00a6;
  --color-primary-rgb: 186 0 166;
  --color-primary-hsl: 306 100% 36%;
}
Gradient
.gradient-ba00a6 {
  background: linear-gradient(135deg, #ba00a6, #ba0049);
}
Colored shadow
.shadow-ba00a6 {
  box-shadow: 0 8px 24px rgb(186 0 166 / 0.35);
}

Medium Violet Red
#ba00a6  rgb(186, 0, 166)  hsl(306, 100%, 36%)  Medium Violet Red
#00ba14  rgb(0, 186, 20)  hsl(126, 100%, 36%)  Kelly Green
#a6ba00  rgb(166, 186, 0)  hsl(66, 100%, 36%)  Apple Green
#00a6ba  rgb(0, 166, 186)  hsl(186, 100%, 36%)  Bondi Blue