#AB248D

#ab248d ≈ Medium Violet Red

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

#ab248d is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 67.06% red, 14.12% green and 55.29% blue; printed in CMYK it uses 0% cyan, 78.95% magenta, 17.54% yellow and 32.94% black. Its hue angle is 313.33°, with 65.22% saturation and 40.59% 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 brand accents. White text on this color reaches a contrast ratio of 6.23:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.4.

Description generated from the measured properties of this color.

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

Readable text 6.23:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.37:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #854f75 ≈ 0.001% of males
Protanopia #2d5390 ≈ 1.01% of males
Deuteranopia #5b688a ≈ 1.27% of males
Tritanopia #b52b57 ≈ 0.0001% of males
Protanomaly #75458f ≈ 1.08% of males
Deuteranomaly #83558b ≈ 4.63% of males
Tritanomaly #b12871 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ab248d {
  color: #ab248d;
}
Background
.bg-ab248d {
  background-color: #ab248d;
  color: #ffffff;
}
Border
.border-ab248d {
  border: 2px solid #ab248d;
}
CSS variables
:root {
  --color-primary: #ab248d;
  --color-primary-rgb: 171 36 141;
  --color-primary-hsl: 313 65% 41%;
}
Gradient
.gradient-ab248d {
  background: linear-gradient(135deg, #ab248d, #ab244a);
}
Colored shadow
.shadow-ab248d {
  box-shadow: 0 8px 24px rgb(171 36 141 / 0.35);
}

Medium Violet Red
#ab248d  rgb(171, 36, 141)  hsl(313, 65%, 41%)  Medium Violet Red
#24ab42  rgb(36, 171, 66)  hsl(133, 65%, 41%)  Medium Sea Green
#8dab24  rgb(141, 171, 36)  hsl(73, 65%, 41%)  Apple Green
#248dab  rgb(36, 141, 171)  hsl(193, 65%, 41%)  Bondi Blue