#CA12AA

#ca12aa ≈ Medium Violet Red

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

#ca12aa is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 7.06% green and 66.67% blue; printed in CMYK it uses 0% cyan, 91.09% magenta, 15.84% yellow and 20.78% black. Its hue angle is 310.43°, with 83.64% saturation and 43.14% 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.03:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.87.

Description generated from the measured properties of this color.

Conversions of #ca12aa 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.1589

Readable text 5.03:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.18:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #9c588a ≈ 0.001% of males
Protanopia #1f5ead ≈ 1.01% of males
Deuteranopia #6578a6 ≈ 1.27% of males
Tritanopia #d62565 ≈ 0.0001% of males
Protanomaly #884bac ≈ 1.08% of males
Deuteranomaly #985fa8 ≈ 4.63% of males
Tritanomaly #d11f86 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ca12aa {
  color: #ca12aa;
}
Background
.bg-ca12aa {
  background-color: #ca12aa;
  color: #ffffff;
}
Border
.border-ca12aa {
  border: 2px solid #ca12aa;
}
CSS variables
:root {
  --color-primary: #ca12aa;
  --color-primary-rgb: 202 18 170;
  --color-primary-hsl: 310 84% 43%;
}
Gradient
.gradient-ca12aa {
  background: linear-gradient(135deg, #ca12aa, #ca124e);
}
Colored shadow
.shadow-ca12aa {
  box-shadow: 0 8px 24px rgb(202 18 170 / 0.35);
}

Medium Violet Red
#ca12aa  rgb(202, 18, 170)  hsl(310, 84%, 43%)  Medium Violet Red
#12ca32  rgb(18, 202, 50)  hsl(130, 84%, 43%)  Lime Green
#aaca12  rgb(170, 202, 18)  hsl(70, 84%, 43%)  Yellow Green
#12aaca  rgb(18, 170, 202)  hsl(190, 84%, 43%)  Bondi Blue