#CC12AA

#cc12aa ≈ Medium Violet Red

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

#cc12aa is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 7.06% green and 66.67% blue; printed in CMYK it uses 0% cyan, 91.18% magenta, 16.67% yellow and 20% black. Its hue angle is 310.97°, with 83.78% saturation and 43.53% 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 4.96:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.78.

Description generated from the measured properties of this color.

Conversions of #cc12aa 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.1617

Readable text 4.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.23:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #9d598b ≈ 0.001% of males
Protanopia #225fad ≈ 1.01% of males
Deuteranopia #6779a6 ≈ 1.27% of males
Tritanopia #d82465 ≈ 0.0001% of males
Protanomaly #894bac ≈ 1.08% of males
Deuteranomaly #9a60a8 ≈ 4.63% of males
Tritanomaly #d31e86 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cc12aa  rgb(204, 18, 170)  hsl(311, 84%, 44%)  Medium Violet Red
#12cc34  rgb(18, 204, 52)  hsl(131, 84%, 44%)  Lime Green
#aacc12  rgb(170, 204, 18)  hsl(71, 84%, 44%)  Yellow Green
#12aacc  rgb(18, 170, 204)  hsl(191, 84%, 44%)  Bondi Blue