#CB0FA8

#cb0fa8 ≈ Medium Violet Red

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

#cb0fa8 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.88% green and 65.88% blue; printed in CMYK it uses 0% cyan, 92.61% magenta, 17.24% yellow and 20.39% black. Its hue angle is 311.17°, with 86.24% saturation and 42.75% 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.03:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.49.

Description generated from the measured properties of this color.

Conversions of #cb0fa8 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.1587

Readable text 5.03:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.17:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #9c5889 ≈ 0.001% of males
Protanopia #225eab ≈ 1.01% of males
Deuteranopia #6678a4 ≈ 1.27% of males
Tritanopia #d72163 ≈ 0.0001% of males
Protanomaly #894aaa ≈ 1.08% of males
Deuteranomaly #995fa6 ≈ 4.63% of males
Tritanomaly #d21b84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb0fa8 {
  color: #cb0fa8;
}
Background
.bg-cb0fa8 {
  background-color: #cb0fa8;
  color: #ffffff;
}
Border
.border-cb0fa8 {
  border: 2px solid #cb0fa8;
}
CSS variables
:root {
  --color-primary: #cb0fa8;
  --color-primary-rgb: 203 15 168;
  --color-primary-hsl: 311 86% 43%;
}
Gradient
.gradient-cb0fa8 {
  background: linear-gradient(135deg, #cb0fa8, #cb0f4a);
}
Colored shadow
.shadow-cb0fa8 {
  box-shadow: 0 8px 24px rgb(203 15 168 / 0.35);
}

Medium Violet Red
#cb0fa8  rgb(203, 15, 168)  hsl(311, 86%, 43%)  Medium Violet Red
#0fcb32  rgb(15, 203, 50)  hsl(131, 86%, 43%)  Lime Green
#a8cb0f  rgb(168, 203, 15)  hsl(71, 86%, 43%)  Yellow Green
#0fa8cb  rgb(15, 168, 203)  hsl(191, 86%, 43%)  Bondi Blue