#CD0CA2

#cd0ca2 ≈ Medium Violet Red

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

#cd0ca2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 4.71% green and 63.53% blue; printed in CMYK it uses 0% cyan, 94.15% magenta, 20.98% yellow and 19.61% black. Its hue angle is 313.37°, with 88.94% saturation and 42.55% 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.36.

Description generated from the measured properties of this color.

Conversions of #cd0ca2 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.1585

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 #9d5886 ≈ 0.001% of males
Protanopia #2a5da5 ≈ 1.01% of males
Deuteranopia #6a799e ≈ 1.27% of males
Tritanopia #da185f ≈ 0.0001% of males
Protanomaly #8b49a4 ≈ 1.08% of males
Deuteranomaly #9c60a0 ≈ 4.63% of males
Tritanomaly #d5147f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cd0ca2  rgb(205, 12, 162)  hsl(313, 89%, 43%)  Medium Violet Red
#0ccd37  rgb(12, 205, 55)  hsl(133, 89%, 43%)  Lime Green
#a2cd0c  rgb(162, 205, 12)  hsl(73, 89%, 43%)  Yellow Green
#0ca2cd  rgb(12, 162, 205)  hsl(193, 89%, 43%)  Bondi Blue