#CD02A0

#cd02a0 ≈ Medium Violet Red

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

#cd02a0 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 0.78% green and 62.75% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 21.95% yellow and 19.61% black. Its hue angle is 313.3°, with 98.07% saturation and 40.59% 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.11:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.04.

Description generated from the measured properties of this color.

Conversions of #cd02a0 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.1556

Readable text 5.11:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.11:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #9d5685 ≈ 0.001% of males
Protanopia #285ba3 ≈ 1.01% of males
Deuteranopia #6a789c ≈ 1.27% of males
Tritanopia #da0f5d ≈ 0.0001% of males
Protanomaly #8b47a2 ≈ 1.08% of males
Deuteranomaly #9c5e9e ≈ 4.63% of males
Tritanomaly #d50a7d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cd02a0  rgb(205, 2, 160)  hsl(313, 98%, 41%)  Medium Violet Red
#02cd2f  rgb(2, 205, 47)  hsl(133, 98%, 41%)  Lime Green
#a0cd02  rgb(160, 205, 2)  hsl(73, 98%, 41%)  Yellow Green
#02a0cd  rgb(2, 160, 205)  hsl(193, 98%, 41%)  Bondi Blue