#AB0C8A

#ab0c8a ≈ Medium Violet Red

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

#ab0c8a 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 54.12% blue; printed in CMYK it uses 0% cyan, 92.98% magenta, 19.3% yellow and 32.94% black. Its hue angle is 312.45°, 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.66:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.11.

Description generated from the measured properties of this color.

Conversions of #ab0c8a 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.1076

Readable text 6.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #834971 ≈ 0.001% of males
Protanopia #1f4d8d ≈ 1.01% of males
Deuteranopia #576487 ≈ 1.27% of males
Tritanopia #b61851 ≈ 0.0001% of males
Protanomaly #733d8c ≈ 1.08% of males
Deuteranomaly #814f88 ≈ 4.63% of males
Tritanomaly #b1146c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#ab0c8a  rgb(171, 12, 138)  hsl(312, 87%, 36%)  Medium Violet Red
#0cab2d  rgb(12, 171, 45)  hsl(132, 87%, 36%)  Kelly Green
#8aab0c  rgb(138, 171, 12)  hsl(72, 87%, 36%)  Apple Green
#0c8aab  rgb(12, 138, 171)  hsl(192, 87%, 36%)  Bondi Blue