#F52ABA

#f52aba ≈ Shocking Pink

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

#f52aba is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 96.08% red, 16.47% green and 72.94% blue; printed in CMYK it uses 0% cyan, 82.86% magenta, 24.08% yellow and 3.92% black. Its hue angle is 317.44°, with 91.03% saturation and 56.27% 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.92:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 1.34.

Description generated from the measured properties of this color.

Conversions of #f52aba 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.2461

Readable text 3.55:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.92:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #be6e9e ≈ 0.001% of males
Protanopia #4773bd ≈ 1.01% of males
Deuteranopia #8794b6 ≈ 1.27% of males
Tritanopia #ff2972 ≈ 0.0001% of males
Protanomaly #aa5ebc ≈ 1.08% of males
Deuteranomaly #bd77b7 ≈ 4.63% of males
Tritanomaly #ff2a94 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f52aba {
  color: #f52aba;
}
Background
.bg-f52aba {
  background-color: #f52aba;
  color: #000000;
}
Border
.border-f52aba {
  border: 2px solid #f52aba;
}
CSS variables
:root {
  --color-primary: #f52aba;
  --color-primary-rgb: 245 42 186;
  --color-primary-hsl: 317 91% 56%;
}
Gradient
.gradient-f52aba {
  background: linear-gradient(135deg, #f52aba, #f52a54);
}
Colored shadow
.shadow-f52aba {
  box-shadow: 0 8px 24px rgb(245 42 186 / 0.35);
}

Shocking Pink
#f52aba  rgb(245, 42, 186)  hsl(317, 91%, 56%)  Shocking Pink
#2af565  rgb(42, 245, 101)  hsl(137, 91%, 56%)  Spring Green
#baf52a  rgb(186, 245, 42)  hsl(77, 91%, 56%)  Spring Bud
#2abaf5  rgb(42, 186, 245)  hsl(197, 91%, 56%)  Deep Sky Blue