#AF128E

#af128e ≈ Medium Violet Red

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

#af128e is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 7.06% green and 55.69% blue; printed in CMYK it uses 0% cyan, 89.71% magenta, 18.86% yellow and 31.37% black. Its hue angle is 312.61°, with 81.35% saturation and 37.84% 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.36:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.46.

Description generated from the measured properties of this color.

Conversions of #af128e 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.115

Readable text 6.36:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.3:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5f5f5f ≈ 0.003% of males
Achromatomaly #874c75 ≈ 0.001% of males
Protanopia #225091 ≈ 1.01% of males
Deuteranopia #59678b ≈ 1.27% of males
Tritanopia #ba1c54 ≈ 0.0001% of males
Protanomaly #764090 ≈ 1.08% of males
Deuteranomaly #84528c ≈ 4.63% of males
Tritanomaly #b61970 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af128e {
  color: #af128e;
}
Background
.bg-af128e {
  background-color: #af128e;
  color: #ffffff;
}
Border
.border-af128e {
  border: 2px solid #af128e;
}
CSS variables
:root {
  --color-primary: #af128e;
  --color-primary-rgb: 175 18 142;
  --color-primary-hsl: 313 81% 38%;
}
Gradient
.gradient-af128e {
  background: linear-gradient(135deg, #af128e, #af123f);
}
Colored shadow
.shadow-af128e {
  box-shadow: 0 8px 24px rgb(175 18 142 / 0.35);
}

Medium Violet Red
#af128e  rgb(175, 18, 142)  hsl(313, 81%, 38%)  Medium Violet Red
#12af33  rgb(18, 175, 51)  hsl(133, 81%, 38%)  Kelly Green
#8eaf12  rgb(142, 175, 18)  hsl(73, 81%, 38%)  Apple Green
#128eaf  rgb(18, 142, 175)  hsl(193, 81%, 38%)  Bondi Blue