#CD08A4

#cd08a4 ≈ Medium Violet Red

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

#cd08a4 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.14% green and 64.31% blue; printed in CMYK it uses 0% cyan, 96.1% magenta, 20% yellow and 19.61% black. Its hue angle is 312.49°, with 92.49% saturation and 41.76% 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.04:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.72.

Description generated from the measured properties of this color.

Conversions of #cd08a4 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.1583

Readable text 5.04:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.17:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #9d5787 ≈ 0.001% of males
Protanopia #265da7 ≈ 1.01% of males
Deuteranopia #6979a0 ≈ 1.27% of males
Tritanopia #da1860 ≈ 0.0001% of males
Protanomaly #8a49a6 ≈ 1.08% of males
Deuteranomaly #9b5fa2 ≈ 4.63% of males
Tritanomaly #d51381 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cd08a4  rgb(205, 8, 164)  hsl(312, 92%, 42%)  Medium Violet Red
#08cd31  rgb(8, 205, 49)  hsl(132, 92%, 42%)  Lime Green
#a4cd08  rgb(164, 205, 8)  hsl(72, 92%, 42%)  Yellow Green
#08a4cd  rgb(8, 164, 205)  hsl(192, 92%, 42%)  Bondi Blue