#CD0BA7

#cd0ba7 ≈ Medium Violet Red

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

#cd0ba7 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 65.49% blue; printed in CMYK it uses 0% cyan, 94.63% magenta, 18.54% yellow and 19.61% black. Its hue angle is 311.75°, 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:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.24.

Description generated from the measured properties of this color.

Conversions of #cd0ba7 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.1601

Readable text 5:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.2:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #9e5889 ≈ 0.001% of males
Protanopia #245eaa ≈ 1.01% of males
Deuteranopia #6879a3 ≈ 1.27% of males
Tritanopia #d91d62 ≈ 0.0001% of males
Protanomaly #8a4aa9 ≈ 1.08% of males
Deuteranomaly #9b60a5 ≈ 4.63% of males
Tritanomaly #d51783 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cd0ba7  rgb(205, 11, 167)  hsl(312, 90%, 42%)  Medium Violet Red
#0bcd31  rgb(11, 205, 49)  hsl(132, 90%, 42%)  Lime Green
#a7cd0b  rgb(167, 205, 11)  hsl(72, 90%, 42%)  Yellow Green
#0ba7cd  rgb(11, 167, 205)  hsl(192, 90%, 42%)  Bondi Blue