#FB21CA

#fb21ca ≈ Shocking Pink

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

#fb21ca is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 98.43% red, 12.94% green and 79.22% blue; printed in CMYK it uses 0% cyan, 86.85% magenta, 19.52% yellow and 1.57% black. Its hue angle is 313.49°, with 96.46% saturation and 55.69% 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.17:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 1.71.

Description generated from the measured properties of this color.

Conversions of #fb21ca 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.2586

Readable text 3.4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.17:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8b8b8b ≈ 0.003% of males
Achromatomaly #c270a8 ≈ 0.001% of males
Protanopia #3a76ce ≈ 1.01% of males
Deuteranopia #8597c5 ≈ 1.27% of males
Tritanopia #ff2c7a ≈ 0.0001% of males
Protanomaly #ac5fcc ≈ 1.08% of males
Deuteranomaly #c079c7 ≈ 4.63% of males
Tritanomaly #ff28a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fb21ca {
  color: #fb21ca;
}
Background
.bg-fb21ca {
  background-color: #fb21ca;
  color: #000000;
}
Border
.border-fb21ca {
  border: 2px solid #fb21ca;
}
CSS variables
:root {
  --color-primary: #fb21ca;
  --color-primary-rgb: 251 33 202;
  --color-primary-hsl: 313 96% 56%;
}
Gradient
.gradient-fb21ca {
  background: linear-gradient(135deg, #fb21ca, #fb215d);
}
Colored shadow
.shadow-fb21ca {
  box-shadow: 0 8px 24px rgb(251 33 202 / 0.35);
}

Shocking Pink
#fb21ca  rgb(251, 33, 202)  hsl(313, 96%, 56%)  Shocking Pink
#21fb52  rgb(33, 251, 82)  hsl(133, 96%, 56%)  Lime
#cafb21  rgb(202, 251, 33)  hsl(73, 96%, 56%)  Electric Lime
#21cafb  rgb(33, 202, 251)  hsl(193, 96%, 56%)  Deep Sky Blue