#CB03AB

#cb03ab ≈ Medium Violet Red

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

#cb03ab is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 1.18% green and 67.06% blue; printed in CMYK it uses 0% cyan, 98.52% magenta, 15.76% yellow and 20.39% black. Its hue angle is 309.6°, with 97.09% saturation and 40.39% 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.04.

Description generated from the measured properties of this color.

Conversions of #cb03ab 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 #175daf ≈ 1.01% of males
Deuteranopia #6478a7 ≈ 1.27% of males
Tritanopia #d72064 ≈ 0.0001% of males
Protanomaly #8749ad ≈ 1.08% of males
Deuteranomaly #985ea9 ≈ 4.63% of males
Tritanomaly #d21786 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb03ab {
  color: #cb03ab;
}
Background
.bg-cb03ab {
  background-color: #cb03ab;
  color: #ffffff;
}
Border
.border-cb03ab {
  border: 2px solid #cb03ab;
}
CSS variables
:root {
  --color-primary: #cb03ab;
  --color-primary-rgb: 203 3 171;
  --color-primary-hsl: 310 97% 40%;
}
Gradient
.gradient-cb03ab {
  background: linear-gradient(135deg, #cb03ab, #cb0347);
}
Colored shadow
.shadow-cb03ab {
  box-shadow: 0 8px 24px rgb(203 3 171 / 0.35);
}

Medium Violet Red
#cb03ab  rgb(203, 3, 171)  hsl(310, 97%, 40%)  Medium Violet Red
#03cb23  rgb(3, 203, 35)  hsl(130, 97%, 40%)  Lime Green
#abcb03  rgb(171, 203, 3)  hsl(70, 97%, 40%)  Yellow Green
#03abcb  rgb(3, 171, 203)  hsl(190, 97%, 40%)  Bondi Blue