#F504AA

#f504aa ≈ Shocking Pink

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#f504aa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 96.08% red, 1.57% green and 66.67% blue; printed in CMYK it uses 0% cyan, 98.37% magenta, 30.61% yellow and 3.92% black. Its hue angle is 318.67°, with 96.79% saturation and 48.82% 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. Black text on this color reaches a contrast ratio of 5.48:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.62.

Description generated from the measured properties of this color.

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

Readable text 3.83:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.48:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #bb6794 ≈ 0.001% of males
Protanopia #446aad ≈ 1.01% of males
Deuteranopia #888fa5 ≈ 1.27% of males
Tritanopia #ff0064 ≈ 0.0001% of males
Protanomaly #aa54ac ≈ 1.08% of males
Deuteranomaly #be71a7 ≈ 4.63% of males
Tritanomaly #ff0086 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f504aa {
  color: #f504aa;
}
Background
.bg-f504aa {
  background-color: #f504aa;
  color: #000000;
}
Border
.border-f504aa {
  border: 2px solid #f504aa;
}
CSS variables
:root {
  --color-primary: #f504aa;
  --color-primary-rgb: 245 4 170;
  --color-primary-hsl: 319 97% 49%;
}
Gradient
.gradient-f504aa {
  background: linear-gradient(135deg, #f504aa, #f50432);
}
Colored shadow
.shadow-f504aa {
  box-shadow: 0 8px 24px rgb(245 4 170 / 0.35);
}

Shocking Pink
#f504aa  rgb(245, 4, 170)  hsl(319, 97%, 49%)  Shocking Pink
#04f54f  rgb(4, 245, 79)  hsl(139, 97%, 49%)  Lime
#aaf504  rgb(170, 245, 4)  hsl(79, 97%, 49%)  Spring Bud
#04aaf5  rgb(4, 170, 245)  hsl(199, 97%, 49%)  Carolina Blue