#EC2FAF

#ec2faf ≈ Shocking Pink

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#ec2faf is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 92.55% red, 18.43% green and 68.63% blue; printed in CMYK it uses 0% cyan, 80.08% magenta, 25.85% yellow and 7.45% black. Its hue angle is 319.37°, with 83.26% saturation and 55.49% 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.59:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.15.

Description generated from the measured properties of this color.

Conversions of #ec2faf into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ff3399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2296

Readable text 3.76:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.59:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #848484 ≈ 0.003% of males
Achromatomaly #b76c97 ≈ 0.001% of males
Protanopia #4b70b2 ≈ 1.01% of males
Deuteranopia #858fab ≈ 1.27% of males
Tritanopia #fc2b6d ≈ 0.0001% of males
Protanomaly #a55cb1 ≈ 1.08% of males
Deuteranomaly #b874ad ≈ 4.63% of males
Tritanomaly #f62d8c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec2faf {
  color: #ec2faf;
}
Background
.bg-ec2faf {
  background-color: #ec2faf;
  color: #000000;
}
Border
.border-ec2faf {
  border: 2px solid #ec2faf;
}
CSS variables
:root {
  --color-primary: #ec2faf;
  --color-primary-rgb: 236 47 175;
  --color-primary-hsl: 319 83% 55%;
}
Gradient
.gradient-ec2faf {
  background: linear-gradient(135deg, #ec2faf, #ec2f50);
}
Colored shadow
.shadow-ec2faf {
  box-shadow: 0 8px 24px rgb(236 47 175 / 0.35);
}

Shocking Pink
#ec2faf  rgb(236, 47, 175)  hsl(319, 83%, 55%)  Shocking Pink
#2fec6c  rgb(47, 236, 108)  hsl(139, 83%, 55%)  Spring Green
#afec2f  rgb(175, 236, 47)  hsl(79, 83%, 55%)  Inchworm
#2fafec  rgb(47, 175, 236)  hsl(199, 83%, 55%)  Deep Sky Blue