#F021B5

#f021b5 ≈ Shocking Pink

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

#f021b5 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 94.12% red, 12.94% green and 70.98% blue; printed in CMYK it uses 0% cyan, 86.25% magenta, 24.58% yellow and 5.88% black. Its hue angle is 317.1°, with 87.34% saturation and 53.53% 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.59:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.23.

Description generated from the measured properties of this color.

Conversions of #f021b5 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.2295

Readable text 3.76:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.59:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #848484 ≈ 0.003% of males
Achromatomaly #b96a9a ≈ 0.001% of males
Protanopia #426fb8 ≈ 1.01% of males
Deuteranopia #838fb1 ≈ 1.27% of males
Tritanopia #ff1f6e ≈ 0.0001% of males
Protanomaly #a659b7 ≈ 1.08% of males
Deuteranomaly #b973b2 ≈ 4.63% of males
Tritanomaly #fa2090 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f021b5 {
  color: #f021b5;
}
Background
.bg-f021b5 {
  background-color: #f021b5;
  color: #000000;
}
Border
.border-f021b5 {
  border: 2px solid #f021b5;
}
CSS variables
:root {
  --color-primary: #f021b5;
  --color-primary-rgb: 240 33 181;
  --color-primary-hsl: 317 87% 54%;
}
Gradient
.gradient-f021b5 {
  background: linear-gradient(135deg, #f021b5, #f0214e);
}
Colored shadow
.shadow-f021b5 {
  box-shadow: 0 8px 24px rgb(240 33 181 / 0.35);
}

Shocking Pink
#f021b5  rgb(240, 33, 181)  hsl(317, 87%, 54%)  Shocking Pink
#21f05c  rgb(33, 240, 92)  hsl(137, 87%, 54%)  Spring Green
#b5f021  rgb(181, 240, 33)  hsl(77, 87%, 54%)  Spring Bud
#21b5f0  rgb(33, 181, 240)  hsl(197, 87%, 54%)  Deep Sky Blue