#CB1CA8

#cb1ca8 ≈ Medium Violet Red

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

#cb1ca8 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 10.98% green and 65.88% blue; printed in CMYK it uses 0% cyan, 86.21% magenta, 17.24% yellow and 20.39% black. Its hue angle is 312°, with 75.76% saturation and 45.29% 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 brand accents. White text on this color reaches a contrast ratio of 4.92:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.48.

Description generated from the measured properties of this color.

Conversions of #cb1ca8 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc3399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1635

Readable text 4.92:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.27:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #9d5a8a ≈ 0.001% of males
Protanopia #2a60ab ≈ 1.01% of males
Deuteranopia #697aa4 ≈ 1.27% of males
Tritanopia #d72965 ≈ 0.0001% of males
Protanomaly #8a4daa ≈ 1.08% of males
Deuteranomaly #9a61a6 ≈ 4.63% of males
Tritanomaly #d22485 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb1ca8 {
  color: #cb1ca8;
}
Background
.bg-cb1ca8 {
  background-color: #cb1ca8;
  color: #ffffff;
}
Border
.border-cb1ca8 {
  border: 2px solid #cb1ca8;
}
CSS variables
:root {
  --color-primary: #cb1ca8;
  --color-primary-rgb: 203 28 168;
  --color-primary-hsl: 312 76% 45%;
}
Gradient
.gradient-cb1ca8 {
  background: linear-gradient(135deg, #cb1ca8, #cb1c50);
}
Colored shadow
.shadow-cb1ca8 {
  box-shadow: 0 8px 24px rgb(203 28 168 / 0.35);
}

Medium Violet Red
#cb1ca8  rgb(203, 28, 168)  hsl(312, 76%, 45%)  Medium Violet Red
#1ccb3f  rgb(28, 203, 63)  hsl(132, 76%, 45%)  Lime Green
#a8cb1c  rgb(168, 203, 28)  hsl(72, 76%, 45%)  Yellow Green
#1ca8cb  rgb(28, 168, 203)  hsl(192, 76%, 45%)  Bondi Blue