#F42EC4

#f42ec4 ≈ Shocking Pink

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

#f42ec4 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 95.69% red, 18.04% green and 76.86% blue; printed in CMYK it uses 0% cyan, 81.15% magenta, 19.67% yellow and 4.31% black. Its hue angle is 314.55°, with 90% saturation and 56.86% 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 1.59.

Description generated from the measured properties of this color.

Conversions of #f42ec4 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.2517

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 #be70a4 ≈ 0.001% of males
Protanopia #4176c8 ≈ 1.01% of males
Deuteranopia #8494c0 ≈ 1.27% of males
Tritanopia #ff3579 ≈ 0.0001% of males
Protanomaly #a861c6 ≈ 1.08% of males
Deuteranomaly #bb79c1 ≈ 4.63% of males
Tritanomaly #fd339d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f42ec4 {
  color: #f42ec4;
}
Background
.bg-f42ec4 {
  background-color: #f42ec4;
  color: #000000;
}
Border
.border-f42ec4 {
  border: 2px solid #f42ec4;
}
CSS variables
:root {
  --color-primary: #f42ec4;
  --color-primary-rgb: 244 46 196;
  --color-primary-hsl: 315 90% 57%;
}
Gradient
.gradient-f42ec4 {
  background: linear-gradient(135deg, #f42ec4, #f42e61);
}
Colored shadow
.shadow-f42ec4 {
  box-shadow: 0 8px 24px rgb(244 46 196 / 0.35);
}

Shocking Pink
#f42ec4  rgb(244, 46, 196)  hsl(315, 90%, 57%)  Shocking Pink
#2ef45e  rgb(46, 244, 94)  hsl(135, 90%, 57%)  Spring Green
#c4f42e  rgb(196, 244, 46)  hsl(75, 90%, 57%)  Electric Lime
#2ec4f4  rgb(46, 196, 244)  hsl(195, 90%, 57%)  Deep Sky Blue