#AB0CA2

#ab0ca2 ≈ Dark Magenta

  • magenta
  • Lightness: low
  • Saturation: strong
  • Balanced

#ab0ca2 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 67.06% red, 4.71% green and 63.53% blue; printed in CMYK it uses 0% cyan, 92.98% magenta, 5.26% yellow and 32.94% black. Its hue angle is 303.4°, with 86.89% saturation and 35.88% 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 6.35:1 (WCAG AA). The closest named color is Dark Magenta (#8b008b), ΔE 6.89.

Description generated from the measured properties of this color.

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

Readable text 6.35:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5f5f5f ≈ 0.003% of males
Achromatomaly #844b7f ≈ 0.001% of males
Protanopia #0052a5 ≈ 1.01% of males
Deuteranopia #4b669f ≈ 1.27% of males
Tritanopia #b22c5f ≈ 0.0001% of males
Protanomaly #6f41a4 ≈ 1.08% of males
Deuteranomaly #7d51a0 ≈ 4.63% of males
Tritanomaly #af227f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ab0ca2 {
  color: #ab0ca2;
}
Background
.bg-ab0ca2 {
  background-color: #ab0ca2;
  color: #ffffff;
}
Border
.border-ab0ca2 {
  border: 2px solid #ab0ca2;
}
CSS variables
:root {
  --color-primary: #ab0ca2;
  --color-primary-rgb: 171 12 162;
  --color-primary-hsl: 303 87% 36%;
}
Gradient
.gradient-ab0ca2 {
  background: linear-gradient(135deg, #ab0ca2, #ab0c52);
}
Colored shadow
.shadow-ab0ca2 {
  box-shadow: 0 8px 24px rgb(171 12 162 / 0.35);
}

Dark Magenta
#ab0ca2  rgb(171, 12, 162)  hsl(303, 87%, 36%)  Dark Magenta
#0cab15  rgb(12, 171, 21)  hsl(123, 87%, 36%)  Kelly Green
#a2ab0c  rgb(162, 171, 12)  hsl(63, 87%, 36%)  Apple Green
#0ca2ab  rgb(12, 162, 171)  hsl(183, 87%, 36%)  Cadet Blue