#C504A9

#c504a9 ≈ Medium Violet Red

  • magenta
  • Lightness: low
  • Saturation: vivid
  • Balanced

#c504a9 is a color from the magenta family, with low lightness and vivid saturation. In the RGB model it is made of 77.25% red, 1.57% green and 66.27% blue; printed in CMYK it uses 0% cyan, 97.97% magenta, 14.21% yellow and 22.75% black. Its hue angle is 308.7°, with 96.02% saturation and 39.41% 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.3:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.17.

Description generated from the measured properties of this color.

Conversions of #c504a9 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.1482

Readable text 5.3:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.96:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #985488 ≈ 0.001% of males
Protanopia #105bac ≈ 1.01% of males
Deuteranopia #5f74a5 ≈ 1.27% of males
Tritanopia #d02263 ≈ 0.0001% of males
Protanomaly #8347ab ≈ 1.08% of males
Deuteranomaly #935ca7 ≈ 4.63% of males
Tritanomaly #cc1a85 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c504a9 {
  color: #c504a9;
}
Background
.bg-c504a9 {
  background-color: #c504a9;
  color: #ffffff;
}
Border
.border-c504a9 {
  border: 2px solid #c504a9;
}
CSS variables
:root {
  --color-primary: #c504a9;
  --color-primary-rgb: 197 4 169;
  --color-primary-hsl: 309 96% 39%;
}
Gradient
.gradient-c504a9 {
  background: linear-gradient(135deg, #c504a9, #c50449);
}
Colored shadow
.shadow-c504a9 {
  box-shadow: 0 8px 24px rgb(197 4 169 / 0.35);
}

Medium Violet Red
#c504a9  rgb(197, 4, 169)  hsl(309, 96%, 39%)  Medium Violet Red
#04c520  rgb(4, 197, 32)  hsl(129, 96%, 39%)  Lime Green
#a9c504  rgb(169, 197, 4)  hsl(69, 96%, 39%)  Yellow Green
#04a9c5  rgb(4, 169, 197)  hsl(189, 96%, 39%)  Bondi Blue