#AF4CB2

#af4cb2 ≈ Purpureus

  • magenta
  • Lightness: medium
  • Saturation: moderate
  • Balanced

#af4cb2 is a color from the magenta family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 29.8% green and 69.8% blue; printed in CMYK it uses 1.69% cyan, 57.3% magenta, 0% yellow and 30.2% black. Its hue angle is 298.24°, with 40.16% saturation and 49.8% 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 4.67:1 (WCAG AA). The closest named color is Purpureus (#9a4eae), ΔE 4.19.

Description generated from the measured properties of this color.

Conversions of #af4cb2 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.175

Readable text 4.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.5:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #8f6691 ≈ 0.001% of males
Protanopia #3f6cb5 ≈ 1.01% of males
Deuteranopia #6079af ≈ 1.27% of males
Tritanopia #b35978 ≈ 0.0001% of males
Protanomaly #7c61b4 ≈ 1.08% of males
Deuteranomaly #876ab0 ≈ 4.63% of males
Tritanomaly #b25493 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af4cb2 {
  color: #af4cb2;
}
Background
.bg-af4cb2 {
  background-color: #af4cb2;
  color: #ffffff;
}
Border
.border-af4cb2 {
  border: 2px solid #af4cb2;
}
CSS variables
:root {
  --color-primary: #af4cb2;
  --color-primary-rgb: 175 76 178;
  --color-primary-hsl: 298 40% 50%;
}
Gradient
.gradient-af4cb2 {
  background: linear-gradient(135deg, #af4cb2, #b24c82);
}
Colored shadow
.shadow-af4cb2 {
  box-shadow: 0 8px 24px rgb(175 76 178 / 0.35);
}

Purpureus
#af4cb2  rgb(175, 76, 178)  hsl(298, 40%, 50%)  Purpureus
#4fb24c  rgb(79, 178, 76)  hsl(118, 40%, 50%)  Mantis
#b2af4c  rgb(178, 175, 76)  hsl(58, 40%, 50%)  Brass
#4cb2af  rgb(76, 178, 175)  hsl(178, 40%, 50%)  Verdigris