#F52FD8

#f52fd8 ≈ Shocking Pink

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

#f52fd8 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 96.08% red, 18.43% green and 84.71% blue; printed in CMYK it uses 0% cyan, 80.82% magenta, 11.84% yellow and 3.92% black. Its hue angle is 308.79°, with 90.83% saturation and 57.25% 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 6.28:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.19.

Description generated from the measured properties of this color.

Conversions of #f52fd8 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.264

Readable text 3.34:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.28:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8c8c8c ≈ 0.003% of males
Achromatomaly #bf72b0 ≈ 0.001% of males
Protanopia #2f7adc ≈ 1.01% of males
Deuteranopia #7d97d4 ≈ 1.27% of males
Tritanopia #ff4385 ≈ 0.0001% of males
Protanomaly #a664db ≈ 1.08% of males
Deuteranomaly #b97ad5 ≈ 4.63% of males
Tritanomaly #fd3cac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f52fd8 {
  color: #f52fd8;
}
Background
.bg-f52fd8 {
  background-color: #f52fd8;
  color: #000000;
}
Border
.border-f52fd8 {
  border: 2px solid #f52fd8;
}
CSS variables
:root {
  --color-primary: #f52fd8;
  --color-primary-rgb: 245 47 216;
  --color-primary-hsl: 309 91% 57%;
}
Gradient
.gradient-f52fd8 {
  background: linear-gradient(135deg, #f52fd8, #f52f75);
}
Colored shadow
.shadow-f52fd8 {
  box-shadow: 0 8px 24px rgb(245 47 216 / 0.35);
}

Shocking Pink
#f52fd8  rgb(245, 47, 216)  hsl(309, 91%, 57%)  Shocking Pink
#2ff54c  rgb(47, 245, 76)  hsl(129, 91%, 57%)  Lime
#d8f52f  rgb(216, 245, 47)  hsl(69, 91%, 57%)  Chartreuse Yellow
#2fd8f5  rgb(47, 216, 245)  hsl(189, 91%, 57%)  Sky Blue