#F04FD2

#f04fd2 ≈ Shocking Pink

  • magenta
  • Lightness: high
  • Saturation: strong
  • Balanced

#f04fd2 is a color from the magenta family, with high lightness and strong saturation. In the RGB model it is made of 94.12% red, 30.98% green and 82.35% blue; printed in CMYK it uses 0% cyan, 67.08% magenta, 12.5% yellow and 5.88% black. Its hue angle is 311.18°, with 84.29% saturation and 62.55% 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.75:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.27.

Description generated from the measured properties of this color.

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

Readable text 3.11:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #929292 ≈ 0.003% of males
Achromatomaly #bf7daf ≈ 0.001% of males
Protanopia #5183d6 ≈ 1.01% of males
Deuteranopia #879bce ≈ 1.27% of males
Tritanopia #fc598a ≈ 0.0001% of males
Protanomaly #a971d4 ≈ 1.08% of males
Deuteranomaly #ba83d0 ≈ 4.63% of males
Tritanomaly #f755ac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f04fd2 {
  color: #f04fd2;
}
Background
.bg-f04fd2 {
  background-color: #f04fd2;
  color: #000000;
}
Border
.border-f04fd2 {
  border: 2px solid #f04fd2;
}
CSS variables
:root {
  --color-primary: #f04fd2;
  --color-primary-rgb: 240 79 210;
  --color-primary-hsl: 311 84% 63%;
}
Gradient
.gradient-f04fd2 {
  background: linear-gradient(135deg, #f04fd2, #f04f82);
}
Colored shadow
.shadow-f04fd2 {
  box-shadow: 0 8px 24px rgb(240 79 210 / 0.35);
}

Shocking Pink
#f04fd2  rgb(240, 79, 210)  hsl(311, 84%, 63%)  Shocking Pink
#4ff06d  rgb(79, 240, 109)  hsl(131, 84%, 63%)  Spring Green
#d2f04f  rgb(210, 240, 79)  hsl(71, 84%, 63%)  Pear
#4fd2f0  rgb(79, 210, 240)  hsl(191, 84%, 63%)  Sky Blue