#F940CF

#f940cf ≈ Shocking Pink

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

#f940cf 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 81.18% blue; printed in CMYK it uses 0% cyan, 74.3% magenta, 16.87% yellow and 2.35% black. Its hue angle is 313.62°, 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.66:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.78.

Description generated from the measured properties of this color.

Conversions of #f940cf 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.2831

Readable text 3.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #919191 ≈ 0.003% of males
Achromatomaly #c379ad ≈ 0.001% of males
Protanopia #4b7fd3 ≈ 1.01% of males
Deuteranopia #899bcb ≈ 1.27% of males
Tritanopia #ff4884 ≈ 0.0001% of males
Protanomaly #ae6bd1 ≈ 1.08% of males
Deuteranomaly #c081cc ≈ 4.63% of males
Tritanomaly #ff45a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#f940cf  rgb(249, 64, 207)  hsl(314, 94%, 61%)  Shocking Pink
#40f96a  rgb(64, 249, 106)  hsl(134, 94%, 61%)  Spring Green
#cff940  rgb(207, 249, 64)  hsl(74, 94%, 61%)  Electric Lime
#40cff9  rgb(64, 207, 249)  hsl(194, 94%, 61%)  Sky Blue