#CB01AC

#cb01ac ≈ Medium Violet Red

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#cb01ac is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 0.39% green and 67.45% blue; printed in CMYK it uses 0% cyan, 99.51% magenta, 15.27% yellow and 20.39% black. Its hue angle is 309.21°, with 99.02% saturation and 40% 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.07:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.22.

Description generated from the measured properties of this color.

Conversions of #cb01ac 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.157

Readable text 5.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #9c578b ≈ 0.001% of males
Protanopia #135db0 ≈ 1.01% of males
Deuteranopia #6378a8 ≈ 1.27% of males
Tritanopia #d72064 ≈ 0.0001% of males
Protanomaly #8749ae ≈ 1.08% of males
Deuteranomaly #985eaa ≈ 4.63% of males
Tritanomaly #d21787 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb01ac {
  color: #cb01ac;
}
Background
.bg-cb01ac {
  background-color: #cb01ac;
  color: #ffffff;
}
Border
.border-cb01ac {
  border: 2px solid #cb01ac;
}
CSS variables
:root {
  --color-primary: #cb01ac;
  --color-primary-rgb: 203 1 172;
  --color-primary-hsl: 309 99% 40%;
}
Gradient
.gradient-cb01ac {
  background: linear-gradient(135deg, #cb01ac, #cb0147);
}
Colored shadow
.shadow-cb01ac {
  box-shadow: 0 8px 24px rgb(203 1 172 / 0.35);
}

Medium Violet Red
#cb01ac  rgb(203, 1, 172)  hsl(309, 99%, 40%)  Medium Violet Red
#01cb20  rgb(1, 203, 32)  hsl(129, 99%, 40%)  Lime Green
#accb01  rgb(172, 203, 1)  hsl(69, 99%, 40%)  Yellow Green
#01accb  rgb(1, 172, 203)  hsl(189, 99%, 40%)  Bondi Blue