#F02CD5

#f02cd5 ≈ Shocking Pink

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

#f02cd5 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.25% green and 83.53% blue; printed in CMYK it uses 0% cyan, 81.67% magenta, 11.25% yellow and 5.88% black. Its hue angle is 308.27°, with 86.73% saturation and 55.69% 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.03:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.16.

Description generated from the measured properties of this color.

Conversions of #f02cd5 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.2513

Readable text 3.48:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.03:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #898989 ≈ 0.003% of males
Achromatomaly #bb70ad ≈ 0.001% of males
Protanopia #2a77d9 ≈ 1.01% of males
Deuteranopia #7993d1 ≈ 1.27% of males
Tritanopia #fc4182 ≈ 0.0001% of males
Protanomaly #a262d8 ≈ 1.08% of males
Deuteranomaly #b577d2 ≈ 4.63% of males
Tritanomaly #f73aaa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#f02cd5  rgb(240, 44, 213)  hsl(308, 87%, 56%)  Shocking Pink
#2cf047  rgb(44, 240, 71)  hsl(128, 87%, 56%)  Lime
#d5f02c  rgb(213, 240, 44)  hsl(68, 87%, 56%)  Pear
#2cd5f0  rgb(44, 213, 240)  hsl(188, 87%, 56%)  Sky Blue