#CD08B4

#cd08b4 ≈ Medium Violet Red

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

#cd08b4 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 70.59% blue; printed in CMYK it uses 0% cyan, 96.1% magenta, 12.2% yellow and 19.61% black. Its hue angle is 307.61°, 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 4.9:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 8.42.

Description generated from the measured properties of this color.

Conversions of #cd08b4 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1645

Readable text 4.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.29:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #9e5991 ≈ 0.001% of males
Protanopia #0760b8 ≈ 1.01% of males
Deuteranopia #627ab0 ≈ 1.27% of males
Tritanopia #d8296a ≈ 0.0001% of males
Protanomaly #884bb6 ≈ 1.08% of males
Deuteranomaly #9960b2 ≈ 4.63% of males
Tritanomaly #d41f8e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cd08b4  rgb(205, 8, 180)  hsl(308, 92%, 42%)  Medium Violet Red
#08cd21  rgb(8, 205, 33)  hsl(128, 92%, 42%)  Lime Green
#b4cd08  rgb(180, 205, 8)  hsl(68, 92%, 42%)  Pear
#08b4cd  rgb(8, 180, 205)  hsl(188, 92%, 42%)  Moonstone Blue