#F02FB2

#f02fb2 ≈ Shocking Pink

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

#f02fb2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 94.12% red, 18.43% green and 69.8% blue; printed in CMYK it uses 0% cyan, 80.42% magenta, 25.83% yellow and 5.88% black. Its hue angle is 319.27°, with 86.55% 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.75:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.56.

Description generated from the measured properties of this color.

Conversions of #f02fb2 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.2377

Readable text 3.65:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #ba6d99 ≈ 0.001% of males
Protanopia #4c71b5 ≈ 1.01% of males
Deuteranopia #8791ae ≈ 1.27% of males
Tritanopia #ff2b6f ≈ 0.0001% of males
Protanomaly #a85eb4 ≈ 1.08% of males
Deuteranomaly #bb76b0 ≈ 4.63% of males
Tritanomaly #fa2c8f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f02fb2 {
  color: #f02fb2;
}
Background
.bg-f02fb2 {
  background-color: #f02fb2;
  color: #000000;
}
Border
.border-f02fb2 {
  border: 2px solid #f02fb2;
}
CSS variables
:root {
  --color-primary: #f02fb2;
  --color-primary-rgb: 240 47 178;
  --color-primary-hsl: 319 87% 56%;
}
Gradient
.gradient-f02fb2 {
  background: linear-gradient(135deg, #f02fb2, #f02f51);
}
Colored shadow
.shadow-f02fb2 {
  box-shadow: 0 8px 24px rgb(240 47 178 / 0.35);
}

Shocking Pink
#f02fb2  rgb(240, 47, 178)  hsl(319, 87%, 56%)  Shocking Pink
#2ff06d  rgb(47, 240, 109)  hsl(139, 87%, 56%)  Spring Green
#b2f02f  rgb(178, 240, 47)  hsl(79, 87%, 56%)  Spring Bud
#2fb2f0  rgb(47, 178, 240)  hsl(199, 87%, 56%)  Deep Sky Blue