#C40CBB

#c40cbb ≈ Purpureus

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

#c40cbb is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 76.86% red, 4.71% green and 73.33% blue; printed in CMYK it uses 0% cyan, 93.88% magenta, 4.59% yellow and 23.14% black. Its hue angle is 302.93°, with 88.46% saturation and 40.78% 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.1:1 (WCAG AA). The closest named color is Purpureus (#9a4eae), ΔE 8.5.

Description generated from the measured properties of this color.

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

Readable text 5.1:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.12:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #985793 ≈ 0.001% of males
Protanopia #005fbf ≈ 1.01% of males
Deuteranopia #5676b7 ≈ 1.27% of males
Tritanopia #cc336e ≈ 0.0001% of males
Protanomaly #7f4bbd ≈ 1.08% of males
Deuteranomaly #8f5db9 ≈ 4.63% of males
Tritanomaly #c92893 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c40cbb {
  color: #c40cbb;
}
Background
.bg-c40cbb {
  background-color: #c40cbb;
  color: #ffffff;
}
Border
.border-c40cbb {
  border: 2px solid #c40cbb;
}
CSS variables
:root {
  --color-primary: #c40cbb;
  --color-primary-rgb: 196 12 187;
  --color-primary-hsl: 303 88% 41%;
}
Gradient
.gradient-c40cbb {
  background: linear-gradient(135deg, #c40cbb, #c40c5f);
}
Colored shadow
.shadow-c40cbb {
  box-shadow: 0 8px 24px rgb(196 12 187 / 0.35);
}

Purpureus
#c40cbb  rgb(196, 12, 187)  hsl(303, 88%, 41%)  Purpureus
#0cc415  rgb(12, 196, 21)  hsl(123, 88%, 41%)  Lime Green
#bbc40c  rgb(187, 196, 12)  hsl(63, 88%, 41%)  Pear
#0cbbc4  rgb(12, 187, 196)  hsl(183, 88%, 41%)  Tiffany Blue