#F02DBC

#f02dbc ≈ Shocking Pink

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

#f02dbc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 94.12% red, 17.65% green and 73.73% blue; printed in CMYK it uses 0% cyan, 81.25% magenta, 21.67% yellow and 5.88% black. Its hue angle is 316°, with 86.67% saturation and 55.88% 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.81:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 1.69.

Description generated from the measured properties of this color.

Conversions of #f02dbc 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.2403

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

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #ba6e9f ≈ 0.001% of males
Protanopia #4473c0 ≈ 1.01% of males
Deuteranopia #8392b8 ≈ 1.27% of males
Tritanopia #ff3174 ≈ 0.0001% of males
Protanomaly #a65ebe ≈ 1.08% of males
Deuteranomaly #b976b9 ≈ 4.63% of males
Tritanomaly #f92f96 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f02dbc {
  color: #f02dbc;
}
Background
.bg-f02dbc {
  background-color: #f02dbc;
  color: #000000;
}
Border
.border-f02dbc {
  border: 2px solid #f02dbc;
}
CSS variables
:root {
  --color-primary: #f02dbc;
  --color-primary-rgb: 240 45 188;
  --color-primary-hsl: 316 87% 56%;
}
Gradient
.gradient-f02dbc {
  background: linear-gradient(135deg, #f02dbc, #f02d5a);
}
Colored shadow
.shadow-f02dbc {
  box-shadow: 0 8px 24px rgb(240 45 188 / 0.35);
}

Shocking Pink
#f02dbc  rgb(240, 45, 188)  hsl(316, 87%, 56%)  Shocking Pink
#2df061  rgb(45, 240, 97)  hsl(136, 87%, 56%)  Spring Green
#bcf02d  rgb(188, 240, 45)  hsl(76, 87%, 56%)  Electric Lime
#2dbcf0  rgb(45, 188, 240)  hsl(196, 87%, 56%)  Deep Sky Blue