#BA2C8B

#ba2c8b ≈ Medium Violet Red

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

#ba2c8b is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 17.25% green and 54.51% blue; printed in CMYK it uses 0% cyan, 76.34% magenta, 25.27% yellow and 27.06% black. Its hue angle is 319.86°, with 61.74% saturation and 45.1% 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 brand accents. White text on this color reaches a contrast ratio of 5.5:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.9.

Description generated from the measured properties of this color.

Conversions of #ba2c8b into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc3399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.141

Readable text 5.5:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.82:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #696969 ≈ 0.003% of males
Achromatomaly #915778 ≈ 0.001% of males
Protanopia #3e5a8e ≈ 1.01% of males
Deuteranopia #6a7288 ≈ 1.27% of males
Tritanopia #c72a58 ≈ 0.0001% of males
Protanomaly #834b8d ≈ 1.08% of males
Deuteranomaly #915d89 ≈ 4.63% of males
Tritanomaly #c22b70 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba2c8b {
  color: #ba2c8b;
}
Background
.bg-ba2c8b {
  background-color: #ba2c8b;
  color: #ffffff;
}
Border
.border-ba2c8b {
  border: 2px solid #ba2c8b;
}
CSS variables
:root {
  --color-primary: #ba2c8b;
  --color-primary-rgb: 186 44 139;
  --color-primary-hsl: 320 62% 45%;
}
Gradient
.gradient-ba2c8b {
  background: linear-gradient(135deg, #ba2c8b, #ba2c44);
}
Colored shadow
.shadow-ba2c8b {
  box-shadow: 0 8px 24px rgb(186 44 139 / 0.35);
}

Medium Violet Red
#ba2c8b  rgb(186, 44, 139)  hsl(320, 62%, 45%)  Medium Violet Red
#2cba5b  rgb(44, 186, 91)  hsl(140, 62%, 45%)  Medium Sea Green
#8bba2c  rgb(139, 186, 44)  hsl(80, 62%, 45%)  Apple Green
#2c8bba  rgb(44, 139, 186)  hsl(200, 62%, 45%)  Steel Blue