#CC0FA4

#cc0fa4 ≈ Medium Violet Red

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

#cc0fa4 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 5.88% green and 64.31% blue; printed in CMYK it uses 0% cyan, 92.65% magenta, 19.61% yellow and 20% black. Its hue angle is 312.7°, with 86.3% saturation and 42.94% 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 5.74.

Description generated from the measured properties of this color.

Conversions of #cc0fa4 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.1586

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 #9d5887 ≈ 0.001% of males
Protanopia #285da7 ≈ 1.01% of males
Deuteranopia #6979a0 ≈ 1.27% of males
Tritanopia #d91c61 ≈ 0.0001% of males
Protanomaly #8a4aa6 ≈ 1.08% of males
Deuteranomaly #9b60a2 ≈ 4.63% of males
Tritanomaly #d41881 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc0fa4 {
  color: #cc0fa4;
}
Background
.bg-cc0fa4 {
  background-color: #cc0fa4;
  color: #ffffff;
}
Border
.border-cc0fa4 {
  border: 2px solid #cc0fa4;
}
CSS variables
:root {
  --color-primary: #cc0fa4;
  --color-primary-rgb: 204 15 164;
  --color-primary-hsl: 313 86% 43%;
}
Gradient
.gradient-cc0fa4 {
  background: linear-gradient(135deg, #cc0fa4, #cc0f45);
}
Colored shadow
.shadow-cc0fa4 {
  box-shadow: 0 8px 24px rgb(204 15 164 / 0.35);
}

Medium Violet Red
#cc0fa4  rgb(204, 15, 164)  hsl(313, 86%, 43%)  Medium Violet Red
#0fcc37  rgb(15, 204, 55)  hsl(133, 86%, 43%)  Lime Green
#a4cc0f  rgb(164, 204, 15)  hsl(73, 86%, 43%)  Yellow Green
#0fa4cc  rgb(15, 164, 204)  hsl(193, 86%, 43%)  Bondi Blue