#CD0A8D

#cd0a8d ≈ Medium Violet Red

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

#cd0a8d is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 3.92% green and 55.29% blue; printed in CMYK it uses 0% cyan, 95.12% magenta, 31.22% yellow and 19.61% black. Its hue angle is 319.69°, with 90.7% saturation and 42.16% 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.22:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.62.

Description generated from the measured properties of this color.

Conversions of #cd0a8d 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.1512

Readable text 5.22:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #9d557b ≈ 0.001% of males
Protanopia #395890 ≈ 1.01% of males
Deuteranopia #717789 ≈ 1.27% of males
Tritanopia #dc0053 ≈ 0.0001% of males
Protanomaly #8e468f ≈ 1.08% of males
Deuteranomaly #9e5e8b ≈ 4.63% of males
Tritanomaly #d6006f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd0a8d {
  color: #cd0a8d;
}
Background
.bg-cd0a8d {
  background-color: #cd0a8d;
  color: #ffffff;
}
Border
.border-cd0a8d {
  border: 2px solid #cd0a8d;
}
CSS variables
:root {
  --color-primary: #cd0a8d;
  --color-primary-rgb: 205 10 141;
  --color-primary-hsl: 320 91% 42%;
}
Gradient
.gradient-cd0a8d {
  background: linear-gradient(135deg, #cd0a8d, #cd0a2c);
}
Colored shadow
.shadow-cd0a8d {
  box-shadow: 0 8px 24px rgb(205 10 141 / 0.35);
}

Medium Violet Red
#cd0a8d  rgb(205, 10, 141)  hsl(320, 91%, 42%)  Medium Violet Red
#0acd4a  rgb(10, 205, 74)  hsl(140, 91%, 42%)  Lime Green
#8dcd0a  rgb(141, 205, 10)  hsl(80, 91%, 42%)  Yellow Green
#0a8dcd  rgb(10, 141, 205)  hsl(200, 91%, 42%)  Steel Blue