#F51EC2

#f51ec2 ≈ Shocking Pink

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

#f51ec2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 96.08% red, 11.76% green and 76.08% blue; printed in CMYK it uses 0% cyan, 87.76% magenta, 20.82% yellow and 3.92% black. Its hue angle is 314.23°, with 91.49% saturation and 53.92% 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.85:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 1.21.

Description generated from the measured properties of this color.

Conversions of #f51ec2 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.2424

Readable text 3.59:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #878787 ≈ 0.003% of males
Achromatomaly #bd6ca2 ≈ 0.001% of males
Protanopia #3a72c6 ≈ 1.01% of males
Deuteranopia #8293be ≈ 1.27% of males
Tritanopia #ff2775 ≈ 0.0001% of males
Protanomaly #a85cc4 ≈ 1.08% of males
Deuteranomaly #bb75bf ≈ 4.63% of males
Tritanomaly #fe249a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f51ec2 {
  color: #f51ec2;
}
Background
.bg-f51ec2 {
  background-color: #f51ec2;
  color: #000000;
}
Border
.border-f51ec2 {
  border: 2px solid #f51ec2;
}
CSS variables
:root {
  --color-primary: #f51ec2;
  --color-primary-rgb: 245 30 194;
  --color-primary-hsl: 314 91% 54%;
}
Gradient
.gradient-f51ec2 {
  background: linear-gradient(135deg, #f51ec2, #f51e57);
}
Colored shadow
.shadow-f51ec2 {
  box-shadow: 0 8px 24px rgb(245 30 194 / 0.35);
}

Shocking Pink
#f51ec2  rgb(245, 30, 194)  hsl(314, 91%, 54%)  Shocking Pink
#1ef551  rgb(30, 245, 81)  hsl(134, 91%, 54%)  Lime
#c2f51e  rgb(194, 245, 30)  hsl(74, 91%, 54%)  Electric Lime
#1ec2f5  rgb(30, 194, 245)  hsl(194, 91%, 54%)  Deep Sky Blue