#BA129E

#ba129e ≈ Medium Violet Red

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#ba129e is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 7.06% green and 61.96% blue; printed in CMYK it uses 0% cyan, 90.32% magenta, 15.05% yellow and 27.06% black. Its hue angle is 310°, with 82.35% saturation and 40% 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.73:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.6.

Description generated from the measured properties of this color.

Conversions of #ba129e 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.1334

Readable text 5.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.67:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #8f5180 ≈ 0.001% of males
Protanopia #1b57a1 ≈ 1.01% of males
Deuteranopia #5c6f9b ≈ 1.27% of males
Tritanopia #c4245d ≈ 0.0001% of males
Protanomaly #7c45a0 ≈ 1.08% of males
Deuteranomaly #8c589c ≈ 4.63% of males
Tritanomaly #c01e7c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba129e {
  color: #ba129e;
}
Background
.bg-ba129e {
  background-color: #ba129e;
  color: #ffffff;
}
Border
.border-ba129e {
  border: 2px solid #ba129e;
}
CSS variables
:root {
  --color-primary: #ba129e;
  --color-primary-rgb: 186 18 158;
  --color-primary-hsl: 310 82% 40%;
}
Gradient
.gradient-ba129e {
  background: linear-gradient(135deg, #ba129e, #ba124a);
}
Colored shadow
.shadow-ba129e {
  box-shadow: 0 8px 24px rgb(186 18 158 / 0.35);
}

Medium Violet Red
#ba129e  rgb(186, 18, 158)  hsl(310, 82%, 40%)  Medium Violet Red
#12ba2e  rgb(18, 186, 46)  hsl(130, 82%, 40%)  Kelly Green
#9eba12  rgb(158, 186, 18)  hsl(70, 82%, 40%)  Apple Green
#129eba  rgb(18, 158, 186)  hsl(190, 82%, 40%)  Bondi Blue