#CC0791

#cc0791 ≈ Medium Violet Red

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

#cc0791 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 2.75% green and 56.86% blue; printed in CMYK it uses 0% cyan, 96.57% magenta, 28.92% yellow and 20% black. Its hue angle is 317.97°, with 93.36% saturation and 41.37% 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.24:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.32.

Description generated from the measured properties of this color.

Conversions of #cc0791 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.1503

Readable text 5.24:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.01:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #9c557d ≈ 0.001% of males
Protanopia #355994 ≈ 1.01% of males
Deuteranopia #6f778d ≈ 1.27% of males
Tritanopia #db0055 ≈ 0.0001% of males
Protanomaly #8c4593 ≈ 1.08% of males
Deuteranomaly #9d5e8f ≈ 4.63% of males
Tritanomaly #d50072 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc0791 {
  color: #cc0791;
}
Background
.bg-cc0791 {
  background-color: #cc0791;
  color: #ffffff;
}
Border
.border-cc0791 {
  border: 2px solid #cc0791;
}
CSS variables
:root {
  --color-primary: #cc0791;
  --color-primary-rgb: 204 7 145;
  --color-primary-hsl: 318 93% 41%;
}
Gradient
.gradient-cc0791 {
  background: linear-gradient(135deg, #cc0791, #cc072e);
}
Colored shadow
.shadow-cc0791 {
  box-shadow: 0 8px 24px rgb(204 7 145 / 0.35);
}

Medium Violet Red
#cc0791  rgb(204, 7, 145)  hsl(318, 93%, 41%)  Medium Violet Red
#07cc42  rgb(7, 204, 66)  hsl(138, 93%, 41%)  Lime Green
#91cc07  rgb(145, 204, 7)  hsl(78, 93%, 41%)  Yellow Green
#0791cc  rgb(7, 145, 204)  hsl(198, 93%, 41%)  Carolina Blue