#F04CD8

#f04cd8 ≈ Shocking Pink

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

#f04cd8 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 94.12% red, 29.8% green and 84.71% blue; printed in CMYK it uses 0% cyan, 68.33% magenta, 10% yellow and 5.88% black. Its hue angle is 308.78°, with 84.54% saturation and 61.96% 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.73:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.62.

Description generated from the measured properties of this color.

Conversions of #f04cd8 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.2865

Readable text 3.12:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #929292 ≈ 0.003% of males
Achromatomaly #bf7cb2 ≈ 0.001% of males
Protanopia #4a82dc ≈ 1.01% of males
Deuteranopia #839ad4 ≈ 1.27% of males
Tritanopia #fb598c ≈ 0.0001% of males
Protanomaly #a871da ≈ 1.08% of males
Deuteranomaly #b982d6 ≈ 4.63% of males
Tritanomaly #f754b0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f04cd8 {
  color: #f04cd8;
}
Background
.bg-f04cd8 {
  background-color: #f04cd8;
  color: #000000;
}
Border
.border-f04cd8 {
  border: 2px solid #f04cd8;
}
CSS variables
:root {
  --color-primary: #f04cd8;
  --color-primary-rgb: 240 76 216;
  --color-primary-hsl: 309 85% 62%;
}
Gradient
.gradient-f04cd8 {
  background: linear-gradient(135deg, #f04cd8, #f04c86);
}
Colored shadow
.shadow-f04cd8 {
  box-shadow: 0 8px 24px rgb(240 76 216 / 0.35);
}

Shocking Pink
#f04cd8  rgb(240, 76, 216)  hsl(309, 85%, 62%)  Shocking Pink
#4cf064  rgb(76, 240, 100)  hsl(129, 85%, 62%)  Spring Green
#d8f04c  rgb(216, 240, 76)  hsl(69, 85%, 62%)  Pear
#4cd8f0  rgb(76, 216, 240)  hsl(189, 85%, 62%)  Sky Blue