#F520CD

#f520cd ≈ Shocking Pink

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

#f520cd 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 80.39% blue; printed in CMYK it uses 0% cyan, 86.94% magenta, 16.33% yellow and 3.92% black. Its hue angle is 311.27°, 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.97:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.57.

Description generated from the measured properties of this color.

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

Readable text 3.52:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #898989 ≈ 0.003% of males
Achromatomaly #be6ea8 ≈ 0.001% of males
Protanopia #3075d1 ≈ 1.01% of males
Deuteranopia #7e94c9 ≈ 1.27% of males
Tritanopia #ff327c ≈ 0.0001% of males
Protanomaly #a65ecf ≈ 1.08% of males
Deuteranomaly #ba76ca ≈ 4.63% of males
Tritanomaly #fe2ca3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#f520cd  rgb(245, 32, 205)  hsl(311, 91%, 54%)  Shocking Pink
#20f548  rgb(32, 245, 72)  hsl(131, 91%, 54%)  Lime
#cdf520  rgb(205, 245, 32)  hsl(71, 91%, 54%)  Electric Lime
#20cdf5  rgb(32, 205, 245)  hsl(191, 91%, 54%)  Sky Blue