#CB0DAF

#cb0daf ≈ Medium Violet Red

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

#cb0daf 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 68.63% blue; printed in CMYK it uses 0% cyan, 93.6% magenta, 13.79% yellow and 20.39% black. Its hue angle is 308.84°, 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 4.98:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.68.

Description generated from the measured properties of this color.

Conversions of #cb0daf 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.1608

Readable text 4.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #9d588d ≈ 0.001% of males
Protanopia #155fb3 ≈ 1.01% of males
Deuteranopia #6379ab ≈ 1.27% of males
Tritanopia #d62767 ≈ 0.0001% of males
Protanomaly #874bb1 ≈ 1.08% of males
Deuteranomaly #9860ad ≈ 4.63% of males
Tritanomaly #d21f8a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cb0daf  rgb(203, 13, 175)  hsl(309, 88%, 42%)  Medium Violet Red
#0dcb29  rgb(13, 203, 41)  hsl(129, 88%, 42%)  Lime Green
#afcb0d  rgb(175, 203, 13)  hsl(69, 88%, 42%)  Yellow Green
#0dafcb  rgb(13, 175, 203)  hsl(189, 88%, 42%)  Bondi Blue