#CC0296

#cc0296 ≈ Medium Violet Red

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

#cc0296 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 0.78% green and 58.82% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 26.47% yellow and 20% black. Its hue angle is 316.04°, with 98.06% saturation and 40.39% 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.23:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.27.

Description generated from the measured properties of this color.

Conversions of #cc0296 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.1508

Readable text 5.23:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #9c557f ≈ 0.001% of males
Protanopia #305999 ≈ 1.01% of males
Deuteranopia #6d7792 ≈ 1.27% of males
Tritanopia #da0057 ≈ 0.0001% of males
Protanomaly #8b4598 ≈ 1.08% of males
Deuteranomaly #9c5d94 ≈ 4.63% of males
Tritanomaly #d50076 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cc0296  rgb(204, 2, 150)  hsl(316, 98%, 40%)  Medium Violet Red
#02cc38  rgb(2, 204, 56)  hsl(136, 98%, 40%)  Lime Green
#96cc02  rgb(150, 204, 2)  hsl(76, 98%, 40%)  Yellow Green
#0296cc  rgb(2, 150, 204)  hsl(196, 98%, 40%)  Carolina Blue