#F02DC2

#f02dc2 ≈ Shocking Pink

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

#f02dc2 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 76.08% blue; printed in CMYK it uses 0% cyan, 81.25% magenta, 19.17% yellow and 5.88% black. Its hue angle is 314.15°, 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.86:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 1.87.

Description generated from the measured properties of this color.

Conversions of #f02dc2 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.243

Readable text 3.58:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #878787 ≈ 0.003% of males
Achromatomaly #bb6ea2 ≈ 0.001% of males
Protanopia #3f74c6 ≈ 1.01% of males
Deuteranopia #8192be ≈ 1.27% of males
Tritanopia #ff3578 ≈ 0.0001% of males
Protanomaly #a55fc4 ≈ 1.08% of males
Deuteranomaly #b877bf ≈ 4.63% of males
Tritanomaly #f9329b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#f02dc2  rgb(240, 45, 194)  hsl(314, 87%, 56%)  Shocking Pink
#2df05b  rgb(45, 240, 91)  hsl(134, 87%, 56%)  Spring Green
#c2f02d  rgb(194, 240, 45)  hsl(74, 87%, 56%)  Electric Lime
#2dc2f0  rgb(45, 194, 240)  hsl(194, 87%, 56%)  Deep Sky Blue