#CC02AE

#cc02ae ≈ Medium Violet Red

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

#cc02ae is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 0.78% green and 68.24% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 14.71% yellow and 20% black. Its hue angle is 308.91°, with 98.06% saturation and 40.39% 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.02:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.49.

Description generated from the measured properties of this color.

Conversions of #cc02ae 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.1594

Readable text 5.02:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.19:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #9d578d ≈ 0.001% of males
Protanopia #125eb2 ≈ 1.01% of males
Deuteranopia #6379aa ≈ 1.27% of males
Tritanopia #d72266 ≈ 0.0001% of males
Protanomaly #8849b0 ≈ 1.08% of males
Deuteranomaly #995fac ≈ 4.63% of males
Tritanomaly #d31989 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc02ae {
  color: #cc02ae;
}
Background
.bg-cc02ae {
  background-color: #cc02ae;
  color: #ffffff;
}
Border
.border-cc02ae {
  border: 2px solid #cc02ae;
}
CSS variables
:root {
  --color-primary: #cc02ae;
  --color-primary-rgb: 204 2 174;
  --color-primary-hsl: 309 98% 40%;
}
Gradient
.gradient-cc02ae {
  background: linear-gradient(135deg, #cc02ae, #cc0249);
}
Colored shadow
.shadow-cc02ae {
  box-shadow: 0 8px 24px rgb(204 2 174 / 0.35);
}

Medium Violet Red
#cc02ae  rgb(204, 2, 174)  hsl(309, 98%, 40%)  Medium Violet Red
#02cc20  rgb(2, 204, 32)  hsl(129, 98%, 40%)  Lime Green
#aecc02  rgb(174, 204, 2)  hsl(69, 98%, 40%)  Yellow Green
#02aecc  rgb(2, 174, 204)  hsl(189, 98%, 40%)  Bondi Blue