#BA12CF

#ba12cf ≈ Dark Orchid

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

#ba12cf 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 81.18% blue; printed in CMYK it uses 10.14% cyan, 91.3% magenta, 0% yellow and 18.82% black. Its hue angle is 293.33°, with 84% saturation and 44.12% 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.15:1 (WCAG AA). The closest named color is Dark Orchid (#9932cc), ΔE 5.47.

Description generated from the measured properties of this color.

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

Readable text 5.15:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.08:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #92579e ≈ 0.001% of males
Protanopia #0062d3 ≈ 1.01% of males
Deuteranopia #3b73cb ≈ 1.27% of males
Tritanopia #bc457a ≈ 0.0001% of males
Protanomaly #724ed2 ≈ 1.08% of males
Deuteranomaly #825bcd ≈ 4.63% of males
Tritanomaly #bb37a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba12cf {
  color: #ba12cf;
}
Background
.bg-ba12cf {
  background-color: #ba12cf;
  color: #ffffff;
}
Border
.border-ba12cf {
  border: 2px solid #ba12cf;
}
CSS variables
:root {
  --color-primary: #ba12cf;
  --color-primary-rgb: 186 18 207;
  --color-primary-hsl: 293 84% 44%;
}
Gradient
.gradient-ba12cf {
  background: linear-gradient(135deg, #ba12cf, #cf1286);
}
Colored shadow
.shadow-ba12cf {
  box-shadow: 0 8px 24px rgb(186 18 207 / 0.35);
}

Dark Orchid
#ba12cf  rgb(186, 18, 207)  hsl(293, 84%, 44%)  Dark Orchid
#27cf12  rgb(39, 207, 18)  hsl(113, 84%, 44%)  Lime Green
#cfba12  rgb(207, 186, 18)  hsl(53, 84%, 44%)  Old Gold
#12cfba  rgb(18, 207, 186)  hsl(173, 84%, 44%)  Turquoise