#CD0AAA

#cd0aaa ≈ Medium Violet Red

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

#cd0aaa 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 66.67% blue; printed in CMYK it uses 0% cyan, 95.12% magenta, 17.07% yellow and 19.61% black. Its hue angle is 310.77°, 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 4.98:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.75.

Description generated from the measured properties of this color.

Conversions of #cd0aaa 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.161

Readable text 4.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #9e588b ≈ 0.001% of males
Protanopia #1f5ead ≈ 1.01% of males
Deuteranopia #6779a6 ≈ 1.27% of males
Tritanopia #d92064 ≈ 0.0001% of males
Protanomaly #8a4aac ≈ 1.08% of males
Deuteranomaly #9a60a8 ≈ 4.63% of males
Tritanomaly #d41986 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cd0aaa  rgb(205, 10, 170)  hsl(311, 91%, 42%)  Medium Violet Red
#0acd2d  rgb(10, 205, 45)  hsl(131, 91%, 42%)  Lime Green
#aacd0a  rgb(170, 205, 10)  hsl(71, 91%, 42%)  Yellow Green
#0aaacd  rgb(10, 170, 205)  hsl(191, 91%, 42%)  Bondi Blue