#FB42D2

#fb42d2 ≈ Shocking Pink

  • magenta
  • Lightness: high
  • Saturation: strong
  • Balanced

#fb42d2 is a color from the magenta family, with high lightness and strong saturation. In the RGB model it is made of 98.43% red, 25.88% green and 82.35% blue; printed in CMYK it uses 0% cyan, 73.71% magenta, 16.33% yellow and 1.57% black. Its hue angle is 313.3°, with 95.85% saturation and 62.16% 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.81:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.3.

Description generated from the measured properties of this color.

Conversions of #fb42d2 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.2906

Readable text 3.08:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.81:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #939393 ≈ 0.003% of males
Achromatomaly #c57ab0 ≈ 0.001% of males
Protanopia #4c80d6 ≈ 1.01% of males
Deuteranopia #8a9dce ≈ 1.27% of males
Tritanopia #ff4b86 ≈ 0.0001% of males
Protanomaly #af6dd4 ≈ 1.08% of males
Deuteranomaly #c282cf ≈ 4.63% of males
Tritanomaly #ff48aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#fb42d2  rgb(251, 66, 210)  hsl(313, 96%, 62%)  Shocking Pink
#42fb6b  rgb(66, 251, 107)  hsl(133, 96%, 62%)  Spring Green
#d2fb42  rgb(210, 251, 66)  hsl(73, 96%, 62%)  Electric Lime
#42d2fb  rgb(66, 210, 251)  hsl(193, 96%, 62%)  Sky Blue