#CC06AA

#cc06aa ≈ Medium Violet Red

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#cc06aa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 2.35% green and 66.67% blue; printed in CMYK it uses 0% cyan, 97.06% magenta, 16.67% yellow and 20% black. Its hue angle is 310.3°, with 94.29% saturation and 41.18% 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.81.

Description generated from the measured properties of this color.

Conversions of #cc06aa 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.1587

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

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #9d578a ≈ 0.001% of males
Protanopia #1c5dad ≈ 1.01% of males
Deuteranopia #6678a6 ≈ 1.27% of males
Tritanopia #d81f64 ≈ 0.0001% of males
Protanomaly #8949ac ≈ 1.08% of males
Deuteranomaly #995fa8 ≈ 4.63% of males
Tritanomaly #d31886 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc06aa {
  color: #cc06aa;
}
Background
.bg-cc06aa {
  background-color: #cc06aa;
  color: #ffffff;
}
Border
.border-cc06aa {
  border: 2px solid #cc06aa;
}
CSS variables
:root {
  --color-primary: #cc06aa;
  --color-primary-rgb: 204 6 170;
  --color-primary-hsl: 310 94% 41%;
}
Gradient
.gradient-cc06aa {
  background: linear-gradient(135deg, #cc06aa, #cc0647);
}
Colored shadow
.shadow-cc06aa {
  box-shadow: 0 8px 24px rgb(204 6 170 / 0.35);
}

Medium Violet Red
#cc06aa  rgb(204, 6, 170)  hsl(310, 94%, 41%)  Medium Violet Red
#06cc28  rgb(6, 204, 40)  hsl(130, 94%, 41%)  Lime Green
#aacc06  rgb(170, 204, 6)  hsl(70, 94%, 41%)  Yellow Green
#06aacc  rgb(6, 170, 204)  hsl(190, 94%, 41%)  Bondi Blue