#CD0BAF

#cd0baf ≈ Medium Violet Red

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

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

Description generated from the measured properties of this color.

Conversions of #cd0baf 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.1631

Readable text 4.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #9e598e ≈ 0.001% of males
Protanopia #175fb3 ≈ 1.01% of males
Deuteranopia #657aab ≈ 1.27% of males
Tritanopia #d82567 ≈ 0.0001% of males
Protanomaly #894bb1 ≈ 1.08% of males
Deuteranomaly #9a60ad ≈ 4.63% of males
Tritanomaly #d41d8a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cd0baf  rgb(205, 11, 175)  hsl(309, 90%, 42%)  Medium Violet Red
#0bcd29  rgb(11, 205, 41)  hsl(129, 90%, 42%)  Lime Green
#afcd0b  rgb(175, 205, 11)  hsl(69, 90%, 42%)  Yellow Green
#0bafcd  rgb(11, 175, 205)  hsl(189, 90%, 42%)  Bondi Blue