#FF04CF

#ff04cf ≈ Shocking Pink

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

#ff04cf is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 1.57% green and 81.18% blue; printed in CMYK it uses 0% cyan, 98.43% magenta, 18.82% yellow and 0% black. Its hue angle is 311.47°, with 100% saturation and 50.78% 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.17:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.25.

Description generated from the measured properties of this color.

Conversions of #ff04cf into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ff00cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2585

Readable text 3.4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.17:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8b8b8b ≈ 0.003% of males
Achromatomaly #c46eab ≈ 0.001% of males
Protanopia #2d75d3 ≈ 1.01% of males
Deuteranopia #8397ca ≈ 1.27% of males
Tritanopia #ff207a ≈ 0.0001% of males
Protanomaly #ad5cd2 ≈ 1.08% of males
Deuteranomaly #c178cc ≈ 4.63% of males
Tritanomaly #ff18a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ff04cf {
  color: #ff04cf;
}
Background
.bg-ff04cf {
  background-color: #ff04cf;
  color: #000000;
}
Border
.border-ff04cf {
  border: 2px solid #ff04cf;
}
CSS variables
:root {
  --color-primary: #ff04cf;
  --color-primary-rgb: 255 4 207;
  --color-primary-hsl: 311 100% 51%;
}
Gradient
.gradient-ff04cf {
  background: linear-gradient(135deg, #ff04cf, #ff0452);
}
Colored shadow
.shadow-ff04cf {
  box-shadow: 0 8px 24px rgb(255 4 207 / 0.35);
}

Shocking Pink
#ff04cf  rgb(255, 4, 207)  hsl(311, 100%, 51%)  Shocking Pink
#04ff34  rgb(4, 255, 52)  hsl(131, 100%, 51%)  Lime
#cfff04  rgb(207, 255, 4)  hsl(71, 100%, 51%)  Electric Lime
#04cfff  rgb(4, 207, 255)  hsl(191, 100%, 51%)  Deep Sky Blue