#F52DCB

#f52dcb ≈ Shocking Pink

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

#f52dcb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 96.08% red, 17.65% green and 79.61% blue; printed in CMYK it uses 0% cyan, 81.63% magenta, 17.14% yellow and 3.92% black. Its hue angle is 312.6°, with 90.91% saturation and 56.86% 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.12:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.33.

Description generated from the measured properties of this color.

Conversions of #f52dcb 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.256

Readable text 3.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.12:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8a8a8a ≈ 0.003% of males
Achromatomaly #bf71a8 ≈ 0.001% of males
Protanopia #3b77cf ≈ 1.01% of males
Deuteranopia #8295c7 ≈ 1.27% of males
Tritanopia #ff397d ≈ 0.0001% of males
Protanomaly #a862cd ≈ 1.08% of males
Deuteranomaly #bb79c8 ≈ 4.63% of males
Tritanomaly #fe35a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#f52dcb  rgb(245, 45, 203)  hsl(313, 91%, 57%)  Shocking Pink
#2df557  rgb(45, 245, 87)  hsl(133, 91%, 57%)  Spring Green
#cbf52d  rgb(203, 245, 45)  hsl(73, 91%, 57%)  Electric Lime
#2dcbf5  rgb(45, 203, 245)  hsl(193, 91%, 57%)  Sky Blue