#F42ECB

#f42ecb ≈ Shocking Pink

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

#f42ecb 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 79.61% blue; printed in CMYK it uses 0% cyan, 81.15% magenta, 16.8% yellow and 4.31% black. Its hue angle is 312.42°, 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.1:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.42.

Description generated from the measured properties of this color.

Conversions of #f42ecb 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.255

Readable text 3.44:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.1:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8a8a8a ≈ 0.003% of males
Achromatomaly #be71a8 ≈ 0.001% of males
Protanopia #3b77cf ≈ 1.01% of males
Deuteranopia #8195c7 ≈ 1.27% of males
Tritanopia #ff3a7d ≈ 0.0001% of males
Protanomaly #a762cd ≈ 1.08% of males
Deuteranomaly #ba79c8 ≈ 4.63% of males
Tritanomaly #fd36a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#f42ecb  rgb(244, 46, 203)  hsl(312, 90%, 57%)  Shocking Pink
#2ef457  rgb(46, 244, 87)  hsl(132, 90%, 57%)  Spring Green
#cbf42e  rgb(203, 244, 46)  hsl(72, 90%, 57%)  Electric Lime
#2ecbf4  rgb(46, 203, 244)  hsl(192, 90%, 57%)  Sky Blue