#C02CA2

#c02ca2 ≈ Medium Violet Red

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

#c02ca2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 75.29% red, 17.25% green and 63.53% blue; printed in CMYK it uses 0% cyan, 77.08% magenta, 15.63% yellow and 24.71% black. Its hue angle is 312.16°, with 62.71% saturation and 46.27% 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 5.09:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.11.

Description generated from the measured properties of this color.

Conversions of #c02ca2 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.1562

Readable text 5.09:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.12:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #965b86 ≈ 0.001% of males
Protanopia #3360a5 ≈ 1.01% of males
Deuteranopia #66769f ≈ 1.27% of males
Tritanopia #cb3565 ≈ 0.0001% of males
Protanomaly #8450a4 ≈ 1.08% of males
Deuteranomaly #9361a0 ≈ 4.63% of males
Tritanomaly #c73282 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c02ca2 {
  color: #c02ca2;
}
Background
.bg-c02ca2 {
  background-color: #c02ca2;
  color: #ffffff;
}
Border
.border-c02ca2 {
  border: 2px solid #c02ca2;
}
CSS variables
:root {
  --color-primary: #c02ca2;
  --color-primary-rgb: 192 44 162;
  --color-primary-hsl: 312 63% 46%;
}
Gradient
.gradient-c02ca2 {
  background: linear-gradient(135deg, #c02ca2, #c02c58);
}
Colored shadow
.shadow-c02ca2 {
  box-shadow: 0 8px 24px rgb(192 44 162 / 0.35);
}

Medium Violet Red
#c02ca2  rgb(192, 44, 162)  hsl(312, 63%, 46%)  Medium Violet Red
#2cc04a  rgb(44, 192, 74)  hsl(132, 63%, 46%)  Lime Green
#a2c02c  rgb(162, 192, 44)  hsl(72, 63%, 46%)  Apple Green
#2ca2c0  rgb(44, 162, 192)  hsl(192, 63%, 46%)  Bondi Blue