#CC12CC

#cc12cc ≈ Medium Orchid

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

#cc12cc 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 80% blue; printed in CMYK it uses 0% cyan, 91.18% magenta, 0% yellow and 20% black. Its hue angle is 300°, 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.64:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 7.4.

Description generated from the measured properties of this color.

Conversions of #cc12cc 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.1763

Readable text 4.64:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.53:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #9f5c9f ≈ 0.001% of males
Protanopia #0066d0 ≈ 1.01% of males
Deuteranopia #547cc8 ≈ 1.27% of males
Tritanopia #d33d79 ≈ 0.0001% of males
Protanomaly #8351cf ≈ 1.08% of males
Deuteranomaly #9463ca ≈ 4.63% of males
Tritanomaly #d031a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Orchid
#cc12cc  rgb(204, 18, 204)  hsl(300, 84%, 44%)  Medium Orchid
#12cc12  rgb(18, 204, 18)  hsl(120, 84%, 44%)  Lime Green
#cccc12  rgb(204, 204, 18)  hsl(60, 84%, 44%)  Citrine
#12cccc  rgb(18, 204, 204)  hsl(180, 84%, 44%)  Robin Egg Blue