#F04DCD

#f04dcd ≈ Shocking Pink

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

#f04dcd 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.2% green and 80.39% blue; printed in CMYK it uses 0% cyan, 67.92% magenta, 14.58% yellow and 5.88% black. Its hue angle is 312.88°, with 84.46% saturation and 62.16% 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.65:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.65.

Description generated from the measured properties of this color.

Conversions of #f04dcd 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.2824

Readable text 3.16:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #919191 ≈ 0.003% of males
Achromatomaly #bf7bac ≈ 0.001% of males
Protanopia #5381d1 ≈ 1.01% of males
Deuteranopia #889ac9 ≈ 1.27% of males
Tritanopia #fd5587 ≈ 0.0001% of males
Protanomaly #aa70cf ≈ 1.08% of males
Deuteranomaly #bb82cb ≈ 4.63% of males
Tritanomaly #f852a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f04dcd {
  color: #f04dcd;
}
Background
.bg-f04dcd {
  background-color: #f04dcd;
  color: #000000;
}
Border
.border-f04dcd {
  border: 2px solid #f04dcd;
}
CSS variables
:root {
  --color-primary: #f04dcd;
  --color-primary-rgb: 240 77 205;
  --color-primary-hsl: 313 84% 62%;
}
Gradient
.gradient-f04dcd {
  background: linear-gradient(135deg, #f04dcd, #f04d7c);
}
Colored shadow
.shadow-f04dcd {
  box-shadow: 0 8px 24px rgb(240 77 205 / 0.35);
}

Shocking Pink
#f04dcd  rgb(240, 77, 205)  hsl(313, 84%, 62%)  Shocking Pink
#4df070  rgb(77, 240, 112)  hsl(133, 84%, 62%)  Spring Green
#cdf04d  rgb(205, 240, 77)  hsl(73, 84%, 62%)  Pear
#4dcdf0  rgb(77, 205, 240)  hsl(193, 84%, 62%)  Sky Blue