#CD0BA2

#cd0ba2 ≈ Medium Violet Red

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

#cd0ba2 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.31% green and 63.53% blue; printed in CMYK it uses 0% cyan, 94.63% magenta, 20.98% yellow and 19.61% black. Its hue angle is 313.3°, with 89.81% saturation and 42.35% 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 #cd0ba2 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 #9d5786 ≈ 0.001% of males
Protanopia #295da5 ≈ 1.01% of males
Deuteranopia #6a799e ≈ 1.27% of males
Tritanopia #da175f ≈ 0.0001% of males
Protanomaly #8b49a4 ≈ 1.08% of males
Deuteranomaly #9c5fa0 ≈ 4.63% of males
Tritanomaly #d5137f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cd0ba2  rgb(205, 11, 162)  hsl(313, 90%, 42%)  Medium Violet Red
#0bcd36  rgb(11, 205, 54)  hsl(133, 90%, 42%)  Lime Green
#a2cd0b  rgb(162, 205, 11)  hsl(73, 90%, 42%)  Yellow Green
#0ba2cd  rgb(11, 162, 205)  hsl(193, 90%, 42%)  Bondi Blue