#CC0EA1

#cc0ea1 ≈ Medium Violet Red

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

#cc0ea1 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 5.49% green and 63.14% blue; printed in CMYK it uses 0% cyan, 93.14% magenta, 21.08% yellow and 20% black. Its hue angle is 313.58°, with 87.16% saturation and 42.75% 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.07:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.21.

Description generated from the measured properties of this color.

Conversions of #cc0ea1 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.1572

Readable text 5.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #9d5786 ≈ 0.001% of males
Protanopia #2a5ca4 ≈ 1.01% of males
Deuteranopia #6a789d ≈ 1.27% of males
Tritanopia #d9185f ≈ 0.0001% of males
Protanomaly #8a49a3 ≈ 1.08% of males
Deuteranomaly #9b5f9f ≈ 4.63% of males
Tritanomaly #d4157f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc0ea1 {
  color: #cc0ea1;
}
Background
.bg-cc0ea1 {
  background-color: #cc0ea1;
  color: #ffffff;
}
Border
.border-cc0ea1 {
  border: 2px solid #cc0ea1;
}
CSS variables
:root {
  --color-primary: #cc0ea1;
  --color-primary-rgb: 204 14 161;
  --color-primary-hsl: 314 87% 43%;
}
Gradient
.gradient-cc0ea1 {
  background: linear-gradient(135deg, #cc0ea1, #cc0e42);
}
Colored shadow
.shadow-cc0ea1 {
  box-shadow: 0 8px 24px rgb(204 14 161 / 0.35);
}

Medium Violet Red
#cc0ea1  rgb(204, 14, 161)  hsl(314, 87%, 43%)  Medium Violet Red
#0ecc39  rgb(14, 204, 57)  hsl(134, 87%, 43%)  Lime Green
#a1cc0e  rgb(161, 204, 14)  hsl(74, 87%, 43%)  Yellow Green
#0ea1cc  rgb(14, 161, 204)  hsl(194, 87%, 43%)  Bondi Blue