#CB0BAD

#cb0bad ≈ Medium Violet Red

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

#cb0bad is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 4.31% green and 67.84% blue; printed in CMYK it uses 0% cyan, 94.58% magenta, 14.78% yellow and 20.39% black. Its hue angle is 309.38°, with 89.72% saturation and 41.96% 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.01:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.35.

Description generated from the measured properties of this color.

Conversions of #cb0bad 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.1595

Readable text 5.01:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.19:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #9c588c ≈ 0.001% of males
Protanopia #185eb1 ≈ 1.01% of males
Deuteranopia #6478a9 ≈ 1.27% of males
Tritanopia #d62466 ≈ 0.0001% of males
Protanomaly #874aaf ≈ 1.08% of males
Deuteranomaly #985fab ≈ 4.63% of males
Tritanomaly #d21d88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cb0bad  rgb(203, 11, 173)  hsl(309, 90%, 42%)  Medium Violet Red
#0bcb29  rgb(11, 203, 41)  hsl(129, 90%, 42%)  Lime Green
#adcb0b  rgb(173, 203, 11)  hsl(69, 90%, 42%)  Yellow Green
#0badcb  rgb(11, 173, 203)  hsl(189, 90%, 42%)  Bondi Blue