#CB0D8D

#cb0d8d ≈ Medium Violet Red

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#cb0d8d is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 5.1% green and 55.29% blue; printed in CMYK it uses 0% cyan, 93.6% magenta, 30.54% yellow and 20.39% black. Its hue angle is 319.58°, with 87.96% 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.27:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.56.

Description generated from the measured properties of this color.

Conversions of #cb0d8d 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.1491

Readable text 5.27:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.98:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #9b557a ≈ 0.001% of males
Protanopia #395890 ≈ 1.01% of males
Deuteranopia #707689 ≈ 1.27% of males
Tritanopia #da0053 ≈ 0.0001% of males
Protanomaly #8c468f ≈ 1.08% of males
Deuteranomaly #9d5e8b ≈ 4.63% of males
Tritanomaly #d4006f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb0d8d {
  color: #cb0d8d;
}
Background
.bg-cb0d8d {
  background-color: #cb0d8d;
  color: #ffffff;
}
Border
.border-cb0d8d {
  border: 2px solid #cb0d8d;
}
CSS variables
:root {
  --color-primary: #cb0d8d;
  --color-primary-rgb: 203 13 141;
  --color-primary-hsl: 320 88% 42%;
}
Gradient
.gradient-cb0d8d {
  background: linear-gradient(135deg, #cb0d8d, #cb0d2e);
}
Colored shadow
.shadow-cb0d8d {
  box-shadow: 0 8px 24px rgb(203 13 141 / 0.35);
}

Medium Violet Red
#cb0d8d  rgb(203, 13, 141)  hsl(320, 88%, 42%)  Medium Violet Red
#0dcb4b  rgb(13, 203, 75)  hsl(140, 88%, 42%)  Lime Green
#8dcb0d  rgb(141, 203, 13)  hsl(80, 88%, 42%)  Yellow Green
#0d8dcb  rgb(13, 141, 203)  hsl(200, 88%, 42%)  Steel Blue