#FB12CB

#fb12cb ≈ Shocking Pink

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

#fb12cb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 98.43% red, 7.06% green and 79.61% blue; printed in CMYK it uses 0% cyan, 92.83% magenta, 19.12% yellow and 1.57% black. Its hue angle is 312.36°, with 96.68% saturation and 52.75% 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.05:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 1.79.

Description generated from the measured properties of this color.

Conversions of #fb12cb into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ff00cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2525

Readable text 3.47:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.05:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8a8a8a ≈ 0.003% of males
Achromatomaly #c26da8 ≈ 0.001% of males
Protanopia #3174cf ≈ 1.01% of males
Deuteranopia #8295c6 ≈ 1.27% of males
Tritanopia #ff2579 ≈ 0.0001% of males
Protanomaly #aa5ccd ≈ 1.08% of males
Deuteranomaly #bf77c8 ≈ 4.63% of males
Tritanomaly #ff1ea0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fb12cb {
  color: #fb12cb;
}
Background
.bg-fb12cb {
  background-color: #fb12cb;
  color: #000000;
}
Border
.border-fb12cb {
  border: 2px solid #fb12cb;
}
CSS variables
:root {
  --color-primary: #fb12cb;
  --color-primary-rgb: 251 18 203;
  --color-primary-hsl: 312 97% 53%;
}
Gradient
.gradient-fb12cb {
  background: linear-gradient(135deg, #fb12cb, #fb1257);
}
Colored shadow
.shadow-fb12cb {
  box-shadow: 0 8px 24px rgb(251 18 203 / 0.35);
}

Shocking Pink
#fb12cb  rgb(251, 18, 203)  hsl(312, 97%, 53%)  Shocking Pink
#12fb42  rgb(18, 251, 66)  hsl(132, 97%, 53%)  Lime
#cbfb12  rgb(203, 251, 18)  hsl(72, 97%, 53%)  Electric Lime
#12cbfb  rgb(18, 203, 251)  hsl(192, 97%, 53%)  Deep Sky Blue