#CB0C8F

#cb0c8f ≈ Medium Violet Red

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

#cb0c8f is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 4.71% green and 56.08% blue; printed in CMYK it uses 0% cyan, 94.09% magenta, 29.56% yellow and 20.39% black. Its hue angle is 318.85°, with 88.84% saturation and 42.16% 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.93.

Description generated from the measured properties of this color.

Conversions of #cb0c8f 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.1494

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

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #9b557b ≈ 0.001% of males
Protanopia #375892 ≈ 1.01% of males
Deuteranopia #6f768b ≈ 1.27% of males
Tritanopia #da0054 ≈ 0.0001% of males
Protanomaly #8c4691 ≈ 1.08% of males
Deuteranomaly #9d5e8d ≈ 4.63% of males
Tritanomaly #d40070 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb0c8f {
  color: #cb0c8f;
}
Background
.bg-cb0c8f {
  background-color: #cb0c8f;
  color: #ffffff;
}
Border
.border-cb0c8f {
  border: 2px solid #cb0c8f;
}
CSS variables
:root {
  --color-primary: #cb0c8f;
  --color-primary-rgb: 203 12 143;
  --color-primary-hsl: 319 89% 42%;
}
Gradient
.gradient-cb0c8f {
  background: linear-gradient(135deg, #cb0c8f, #cb0c2f);
}
Colored shadow
.shadow-cb0c8f {
  box-shadow: 0 8px 24px rgb(203 12 143 / 0.35);
}

Medium Violet Red
#cb0c8f  rgb(203, 12, 143)  hsl(319, 89%, 42%)  Medium Violet Red
#0ccb48  rgb(12, 203, 72)  hsl(139, 89%, 42%)  Lime Green
#8fcb0c  rgb(143, 203, 12)  hsl(79, 89%, 42%)  Yellow Green
#0c8fcb  rgb(12, 143, 203)  hsl(199, 89%, 42%)  Steel Blue