#F028B2

#f028b2 ≈ Shocking Pink

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

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

Description generated from the measured properties of this color.

Conversions of #f028b2 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.2326

Readable text 3.72:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #848484 ≈ 0.003% of males
Achromatomaly #ba6b99 ≈ 0.001% of males
Protanopia #4770b5 ≈ 1.01% of males
Deuteranopia #8690ae ≈ 1.27% of males
Tritanopia #ff236d ≈ 0.0001% of males
Protanomaly #a75bb4 ≈ 1.08% of males
Deuteranomaly #ba74af ≈ 4.63% of males
Tritanomaly #fa258e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#f028b2  rgb(240, 40, 178)  hsl(319, 87%, 55%)  Shocking Pink
#28f066  rgb(40, 240, 102)  hsl(139, 87%, 55%)  Spring Green
#b2f028  rgb(178, 240, 40)  hsl(79, 87%, 55%)  Spring Bud
#28b2f0  rgb(40, 178, 240)  hsl(199, 87%, 55%)  Deep Sky Blue