#BA008E

#ba008e ≈ Medium Violet Red

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

#ba008e 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 55.69% blue; printed in CMYK it uses 0% cyan, 100% magenta, 23.66% yellow and 27.06% black. Its hue angle is 314.19°, 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 6.04:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.65.

Description generated from the measured properties of this color.

Conversions of #ba008e 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.1239

Readable text 6.04:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.48:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #8e4d76 ≈ 0.001% of males
Protanopia #265191 ≈ 1.01% of males
Deuteranopia #616c8b ≈ 1.27% of males
Tritanopia #c70552 ≈ 0.0001% of males
Protanomaly #7e3f90 ≈ 1.08% of males
Deuteranomaly #8d558c ≈ 4.63% of males
Tritanomaly #c2036f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#ba008e  rgb(186, 0, 142)  hsl(314, 100%, 36%)  Medium Violet Red
#00ba2c  rgb(0, 186, 44)  hsl(134, 100%, 36%)  Kelly Green
#8eba00  rgb(142, 186, 0)  hsl(74, 100%, 36%)  Apple Green
#008eba  rgb(0, 142, 186)  hsl(194, 100%, 36%)  Bondi Blue