#CA02A3

#ca02a3 ≈ Medium Violet Red

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

#ca02a3 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.22% red, 0.78% green and 63.92% blue; printed in CMYK it uses 0% cyan, 99.01% magenta, 19.31% yellow and 20.78% black. Its hue angle is 311.7°, with 98.04% saturation and 40% 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.19:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.74.

Description generated from the measured properties of this color.

Conversions of #ca02a3 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.1524

Readable text 5.19: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 #9b5586 ≈ 0.001% of males
Protanopia #215ba6 ≈ 1.01% of males
Deuteranopia #66779f ≈ 1.27% of males
Tritanopia #d7175f ≈ 0.0001% of males
Protanomaly #8847a5 ≈ 1.08% of males
Deuteranomaly #995da1 ≈ 4.63% of males
Tritanomaly #d21080 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#ca02a3  rgb(202, 2, 163)  hsl(312, 98%, 40%)  Medium Violet Red
#02ca29  rgb(2, 202, 41)  hsl(132, 98%, 40%)  Lime Green
#a3ca02  rgb(163, 202, 2)  hsl(72, 98%, 40%)  Yellow Green
#02a3ca  rgb(2, 163, 202)  hsl(192, 98%, 40%)  Bondi Blue