#CA05A2

#ca05a2 ≈ Medium Violet Red

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

#ca05a2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.22% red, 1.96% green and 63.53% blue; printed in CMYK it uses 0% cyan, 97.52% magenta, 19.8% yellow and 20.78% black. Its hue angle is 312.18°, with 95.17% saturation and 40.59% 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.18:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.54.

Description generated from the measured properties of this color.

Conversions of #ca05a2 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.1527

Readable text 5.18:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.05:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #9b5685 ≈ 0.001% of males
Protanopia #245ba5 ≈ 1.01% of males
Deuteranopia #67779e ≈ 1.27% of males
Tritanopia #d7175f ≈ 0.0001% of males
Protanomaly #8847a4 ≈ 1.08% of males
Deuteranomaly #995ea0 ≈ 4.63% of males
Tritanomaly #d2117f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ca05a2 {
  color: #ca05a2;
}
Background
.bg-ca05a2 {
  background-color: #ca05a2;
  color: #ffffff;
}
Border
.border-ca05a2 {
  border: 2px solid #ca05a2;
}
CSS variables
:root {
  --color-primary: #ca05a2;
  --color-primary-rgb: 202 5 162;
  --color-primary-hsl: 312 95% 41%;
}
Gradient
.gradient-ca05a2 {
  background: linear-gradient(135deg, #ca05a2, #ca0540);
}
Colored shadow
.shadow-ca05a2 {
  box-shadow: 0 8px 24px rgb(202 5 162 / 0.35);
}

Medium Violet Red
#ca05a2  rgb(202, 5, 162)  hsl(312, 95%, 41%)  Medium Violet Red
#05ca2d  rgb(5, 202, 45)  hsl(132, 95%, 41%)  Lime Green
#a2ca05  rgb(162, 202, 5)  hsl(72, 95%, 41%)  Yellow Green
#05a2ca  rgb(5, 162, 202)  hsl(192, 95%, 41%)  Bondi Blue