#F520B2

#f520b2 ≈ Shocking Pink

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

#f520b2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 96.08% red, 12.55% green and 69.8% blue; printed in CMYK it uses 0% cyan, 86.94% magenta, 27.35% yellow and 3.92% black. Its hue angle is 318.87°, with 91.42% saturation and 54.31% 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.73:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.26.

Description generated from the measured properties of this color.

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

Readable text 3.66:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #bd6b99 ≈ 0.001% of males
Protanopia #476fb5 ≈ 1.01% of males
Deuteranopia #8892ae ≈ 1.27% of males
Tritanopia #ff156c ≈ 0.0001% of males
Protanomaly #aa5ab4 ≈ 1.08% of males
Deuteranomaly #be75af ≈ 4.63% of males
Tritanomaly #ff1a8d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f520b2 {
  color: #f520b2;
}
Background
.bg-f520b2 {
  background-color: #f520b2;
  color: #000000;
}
Border
.border-f520b2 {
  border: 2px solid #f520b2;
}
CSS variables
:root {
  --color-primary: #f520b2;
  --color-primary-rgb: 245 32 178;
  --color-primary-hsl: 319 91% 54%;
}
Gradient
.gradient-f520b2 {
  background: linear-gradient(135deg, #f520b2, #f52047);
}
Colored shadow
.shadow-f520b2 {
  box-shadow: 0 8px 24px rgb(245 32 178 / 0.35);
}

Shocking Pink
#f520b2  rgb(245, 32, 178)  hsl(319, 91%, 54%)  Shocking Pink
#20f563  rgb(32, 245, 99)  hsl(139, 91%, 54%)  Spring Green
#b2f520  rgb(178, 245, 32)  hsl(79, 91%, 54%)  Spring Bud
#20b2f5  rgb(32, 178, 245)  hsl(199, 91%, 54%)  Deep Sky Blue