#CA05AF

#ca05af ≈ Medium Violet Red

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

#ca05af 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 68.63% blue; printed in CMYK it uses 0% cyan, 97.52% magenta, 13.37% yellow and 20.78% black. Its hue angle is 308.22°, 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.06:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.76.

Description generated from the measured properties of this color.

Conversions of #ca05af 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.1576

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

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #9c578d ≈ 0.001% of males
Protanopia #0c5eb3 ≈ 1.01% of males
Deuteranopia #6178ab ≈ 1.27% of males
Tritanopia #d52566 ≈ 0.0001% of males
Protanomaly #8649b1 ≈ 1.08% of males
Deuteranomaly #975ead ≈ 4.63% of males
Tritanomaly #d11c89 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#ca05af  rgb(202, 5, 175)  hsl(308, 95%, 41%)  Medium Violet Red
#05ca20  rgb(5, 202, 32)  hsl(128, 95%, 41%)  Lime Green
#afca05  rgb(175, 202, 5)  hsl(68, 95%, 41%)  Yellow Green
#05afca  rgb(5, 175, 202)  hsl(188, 95%, 41%)  Bondi Blue