#CC159C

#cc159c ≈ Medium Violet Red

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

#cc159c is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 8.24% green and 61.18% blue; printed in CMYK it uses 0% cyan, 89.71% magenta, 23.53% yellow and 20% black. Its hue angle is 315.74°, with 81.33% saturation and 44.12% 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.05:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.29.

Description generated from the measured properties of this color.

Conversions of #cc159c 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.1577

Readable text 5.05:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #9d5883 ≈ 0.001% of males
Protanopia #325c9f ≈ 1.01% of males
Deuteranopia #6d7998 ≈ 1.27% of males
Tritanopia #da175d ≈ 0.0001% of males
Protanomaly #8c4a9e ≈ 1.08% of males
Deuteranomaly #9c609a ≈ 4.63% of males
Tritanomaly #d4167b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cc159c  rgb(204, 21, 156)  hsl(316, 81%, 44%)  Medium Violet Red
#15cc45  rgb(21, 204, 69)  hsl(136, 81%, 44%)  Lime Green
#9ccc15  rgb(156, 204, 21)  hsl(76, 81%, 44%)  Yellow Green
#159ccc  rgb(21, 156, 204)  hsl(196, 81%, 44%)  Bondi Blue