#F228BB

#f228bb ≈ Shocking Pink

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

#f228bb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 15.69% green and 73.33% blue; printed in CMYK it uses 0% cyan, 83.47% magenta, 22.73% yellow and 5.1% black. Its hue angle is 316.34°, with 88.6% saturation and 55.29% 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.8:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 1.45.

Description generated from the measured properties of this color.

Conversions of #f228bb 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.2398

Readable text 3.62:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.8:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #bb6d9e ≈ 0.001% of males
Protanopia #4372bf ≈ 1.01% of males
Deuteranopia #8492b7 ≈ 1.27% of males
Tritanopia #ff2a73 ≈ 0.0001% of males
Protanomaly #a75dbd ≈ 1.08% of males
Deuteranomaly #ba76b8 ≈ 4.63% of males
Tritanomaly #fc2995 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f228bb {
  color: #f228bb;
}
Background
.bg-f228bb {
  background-color: #f228bb;
  color: #000000;
}
Border
.border-f228bb {
  border: 2px solid #f228bb;
}
CSS variables
:root {
  --color-primary: #f228bb;
  --color-primary-rgb: 242 40 187;
  --color-primary-hsl: 316 89% 55%;
}
Gradient
.gradient-f228bb {
  background: linear-gradient(135deg, #f228bb, #f22856);
}
Colored shadow
.shadow-f228bb {
  box-shadow: 0 8px 24px rgb(242 40 187 / 0.35);
}

Shocking Pink
#f228bb  rgb(242, 40, 187)  hsl(316, 89%, 55%)  Shocking Pink
#28f25f  rgb(40, 242, 95)  hsl(136, 89%, 55%)  Spring Green
#bbf228  rgb(187, 242, 40)  hsl(76, 89%, 55%)  Electric Lime
#28bbf2  rgb(40, 187, 242)  hsl(196, 89%, 55%)  Deep Sky Blue