#F940C8

#f940c8 ≈ Shocking Pink

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

#f940c8 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 97.65% red, 25.1% green and 78.43% blue; printed in CMYK it uses 0% cyan, 74.3% magenta, 19.68% yellow and 2.35% black. Its hue angle is 315.89°, with 93.91% saturation and 61.37% 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.6:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.27.

Description generated from the measured properties of this color.

Conversions of #f940c8 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.2798

Readable text 3.18:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #909090 ≈ 0.003% of males
Achromatomaly #c378a9 ≈ 0.001% of males
Protanopia #507dcc ≈ 1.01% of males
Deuteranopia #8c9bc4 ≈ 1.27% of males
Tritanopia #ff4580 ≈ 0.0001% of males
Protanomaly #af6aca ≈ 1.08% of males
Deuteranomaly #c180c5 ≈ 4.63% of males
Tritanomaly #ff43a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f940c8 {
  color: #f940c8;
}
Background
.bg-f940c8 {
  background-color: #f940c8;
  color: #000000;
}
Border
.border-f940c8 {
  border: 2px solid #f940c8;
}
CSS variables
:root {
  --color-primary: #f940c8;
  --color-primary-rgb: 249 64 200;
  --color-primary-hsl: 316 94% 61%;
}
Gradient
.gradient-f940c8 {
  background: linear-gradient(135deg, #f940c8, #f9406b);
}
Colored shadow
.shadow-f940c8 {
  box-shadow: 0 8px 24px rgb(249 64 200 / 0.35);
}

Shocking Pink
#f940c8  rgb(249, 64, 200)  hsl(316, 94%, 61%)  Shocking Pink
#40f971  rgb(64, 249, 113)  hsl(136, 94%, 61%)  Spring Green
#c8f940  rgb(200, 249, 64)  hsl(76, 94%, 61%)  Electric Lime
#40c8f9  rgb(64, 200, 249)  hsl(196, 94%, 61%)  Deep Sky Blue