#AA1F8A

#aa1f8a ≈ Medium Violet Red

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

#aa1f8a is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 66.67% red, 12.16% green and 54.12% blue; printed in CMYK it uses 0% cyan, 81.76% magenta, 18.82% yellow and 33.33% black. Its hue angle is 313.81°, with 69.15% saturation and 39.41% 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.42:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.53.

Description generated from the measured properties of this color.

Conversions of #aa1f8a 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.1136

Readable text 6.42:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.27:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5f5f5f ≈ 0.003% of males
Achromatomaly #844d72 ≈ 0.001% of males
Protanopia #2a518d ≈ 1.01% of males
Deuteranopia #5a6687 ≈ 1.27% of males
Tritanopia #b42554 ≈ 0.0001% of males
Protanomaly #74428c ≈ 1.08% of males
Deuteranomaly #825388 ≈ 4.63% of males
Tritanomaly #b0236e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-aa1f8a {
  color: #aa1f8a;
}
Background
.bg-aa1f8a {
  background-color: #aa1f8a;
  color: #ffffff;
}
Border
.border-aa1f8a {
  border: 2px solid #aa1f8a;
}
CSS variables
:root {
  --color-primary: #aa1f8a;
  --color-primary-rgb: 170 31 138;
  --color-primary-hsl: 314 69% 39%;
}
Gradient
.gradient-aa1f8a {
  background: linear-gradient(135deg, #aa1f8a, #aa1f45);
}
Colored shadow
.shadow-aa1f8a {
  box-shadow: 0 8px 24px rgb(170 31 138 / 0.35);
}

Medium Violet Red
#aa1f8a  rgb(170, 31, 138)  hsl(314, 69%, 39%)  Medium Violet Red
#1faa3f  rgb(31, 170, 63)  hsl(134, 69%, 39%)  Medium Sea Green
#8aaa1f  rgb(138, 170, 31)  hsl(74, 69%, 39%)  Apple Green
#1f8aaa  rgb(31, 138, 170)  hsl(194, 69%, 39%)  Bondi Blue