#CD13A5

#cd13a5 ≈ Medium Violet Red

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

#cd13a5 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 7.45% green and 64.71% blue; printed in CMYK it uses 0% cyan, 90.73% magenta, 19.51% yellow and 19.61% black. Its hue angle is 312.9°, with 83.04% 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 4.96:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.88.

Description generated from the measured properties of this color.

Conversions of #cd13a5 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.1616

Readable text 4.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.23:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #9e5988 ≈ 0.001% of males
Protanopia #2a5ea8 ≈ 1.01% of males
Deuteranopia #6a7aa1 ≈ 1.27% of males
Tritanopia #da1f62 ≈ 0.0001% of males
Protanomaly #8b4ba7 ≈ 1.08% of males
Deuteranomaly #9c61a3 ≈ 4.63% of males
Tritanomaly #d51b82 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd13a5 {
  color: #cd13a5;
}
Background
.bg-cd13a5 {
  background-color: #cd13a5;
  color: #ffffff;
}
Border
.border-cd13a5 {
  border: 2px solid #cd13a5;
}
CSS variables
:root {
  --color-primary: #cd13a5;
  --color-primary-rgb: 205 19 165;
  --color-primary-hsl: 313 83% 44%;
}
Gradient
.gradient-cd13a5 {
  background: linear-gradient(135deg, #cd13a5, #cd1348);
}
Colored shadow
.shadow-cd13a5 {
  box-shadow: 0 8px 24px rgb(205 19 165 / 0.35);
}

Medium Violet Red
#cd13a5  rgb(205, 19, 165)  hsl(313, 83%, 44%)  Medium Violet Red
#13cd3b  rgb(19, 205, 59)  hsl(133, 83%, 44%)  Lime Green
#a5cd13  rgb(165, 205, 19)  hsl(73, 83%, 44%)  Yellow Green
#13a5cd  rgb(19, 165, 205)  hsl(193, 83%, 44%)  Bondi Blue