#CC1FA4

#cc1fa4 ≈ Medium Violet Red

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

#cc1fa4 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 12.16% green and 64.31% blue; printed in CMYK it uses 0% cyan, 84.8% magenta, 19.61% yellow and 20% black. Its hue angle is 313.87°, with 73.62% saturation and 46.08% 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 brand accents. White text on this color reaches a contrast ratio of 4.88:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.77.

Description generated from the measured properties of this color.

Conversions of #cc1fa4 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc3399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.165

Readable text 4.88:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.3:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #9e5b88 ≈ 0.001% of males
Protanopia #3160a7 ≈ 1.01% of males
Deuteranopia #6c7aa0 ≈ 1.27% of males
Tritanopia #d92763 ≈ 0.0001% of males
Protanomaly #8b4ea6 ≈ 1.08% of males
Deuteranomaly #9c62a2 ≈ 4.63% of males
Tritanomaly #d42482 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc1fa4 {
  color: #cc1fa4;
}
Background
.bg-cc1fa4 {
  background-color: #cc1fa4;
  color: #ffffff;
}
Border
.border-cc1fa4 {
  border: 2px solid #cc1fa4;
}
CSS variables
:root {
  --color-primary: #cc1fa4;
  --color-primary-rgb: 204 31 164;
  --color-primary-hsl: 314 74% 46%;
}
Gradient
.gradient-cc1fa4 {
  background: linear-gradient(135deg, #cc1fa4, #cc1f4e);
}
Colored shadow
.shadow-cc1fa4 {
  box-shadow: 0 8px 24px rgb(204 31 164 / 0.35);
}

Medium Violet Red
#cc1fa4  rgb(204, 31, 164)  hsl(314, 74%, 46%)  Medium Violet Red
#1fcc47  rgb(31, 204, 71)  hsl(134, 74%, 46%)  Lime Green
#a4cc1f  rgb(164, 204, 31)  hsl(74, 74%, 46%)  Yellow Green
#1fa4cc  rgb(31, 164, 204)  hsl(194, 74%, 46%)  Bondi Blue