#CC0C8F

#cc0c8f ≈ Medium Violet Red

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

#cc0c8f is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 4.71% green and 56.08% blue; printed in CMYK it uses 0% cyan, 94.12% magenta, 29.9% yellow and 20% black. Its hue angle is 319.06°, with 88.89% saturation and 42.35% 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.23:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.93.

Description generated from the measured properties of this color.

Conversions of #cc0c8f 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.1508

Readable text 5.23:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #9c567c ≈ 0.001% of males
Protanopia #385992 ≈ 1.01% of males
Deuteranopia #70778b ≈ 1.27% of males
Tritanopia #db0054 ≈ 0.0001% of males
Protanomaly #8d4691 ≈ 1.08% of males
Deuteranomaly #9d5e8d ≈ 4.63% of males
Tritanomaly #d50070 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc0c8f {
  color: #cc0c8f;
}
Background
.bg-cc0c8f {
  background-color: #cc0c8f;
  color: #ffffff;
}
Border
.border-cc0c8f {
  border: 2px solid #cc0c8f;
}
CSS variables
:root {
  --color-primary: #cc0c8f;
  --color-primary-rgb: 204 12 143;
  --color-primary-hsl: 319 89% 42%;
}
Gradient
.gradient-cc0c8f {
  background: linear-gradient(135deg, #cc0c8f, #cc0c2f);
}
Colored shadow
.shadow-cc0c8f {
  box-shadow: 0 8px 24px rgb(204 12 143 / 0.35);
}

Medium Violet Red
#cc0c8f  rgb(204, 12, 143)  hsl(319, 89%, 42%)  Medium Violet Red
#0ccc49  rgb(12, 204, 73)  hsl(139, 89%, 42%)  Lime Green
#8fcc0c  rgb(143, 204, 12)  hsl(79, 89%, 42%)  Yellow Green
#0c8fcc  rgb(12, 143, 204)  hsl(199, 89%, 42%)  Steel Blue