#CA16A2

#ca16a2 ≈ Medium Violet Red

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

#ca16a2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 8.63% green and 63.53% blue; printed in CMYK it uses 0% cyan, 89.11% magenta, 19.8% yellow and 20.78% black. Its hue angle is 313.33°, with 80.36% saturation and 43.92% 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.06:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.45.

Description generated from the measured properties of this color.

Conversions of #ca16a2 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.1574

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

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #9c5886 ≈ 0.001% of males
Protanopia #2b5da5 ≈ 1.01% of males
Deuteranopia #69789e ≈ 1.27% of males
Tritanopia #d72060 ≈ 0.0001% of males
Protanomaly #894aa4 ≈ 1.08% of males
Deuteranomaly #9a60a0 ≈ 4.63% of males
Tritanomaly #d21c80 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ca16a2 {
  color: #ca16a2;
}
Background
.bg-ca16a2 {
  background-color: #ca16a2;
  color: #ffffff;
}
Border
.border-ca16a2 {
  border: 2px solid #ca16a2;
}
CSS variables
:root {
  --color-primary: #ca16a2;
  --color-primary-rgb: 202 22 162;
  --color-primary-hsl: 313 80% 44%;
}
Gradient
.gradient-ca16a2 {
  background: linear-gradient(135deg, #ca16a2, #ca1648);
}
Colored shadow
.shadow-ca16a2 {
  box-shadow: 0 8px 24px rgb(202 22 162 / 0.35);
}

Medium Violet Red
#ca16a2  rgb(202, 22, 162)  hsl(313, 80%, 44%)  Medium Violet Red
#16ca3e  rgb(22, 202, 62)  hsl(133, 80%, 44%)  Lime Green
#a2ca16  rgb(162, 202, 22)  hsl(73, 80%, 44%)  Yellow Green
#16a2ca  rgb(22, 162, 202)  hsl(193, 80%, 44%)  Bondi Blue