#FA04DC

#fa04dc ≈ Shocking Pink

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

#fa04dc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 98.04% red, 1.57% green and 86.27% blue; printed in CMYK it uses 0% cyan, 98.4% magenta, 12% yellow and 1.96% black. Its hue angle is 307.32°, with 96.85% saturation and 49.8% 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.12:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.42.

Description generated from the measured properties of this color.

Conversions of #fa04dc 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.2558

Readable text 3.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.12:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8a8a8a ≈ 0.003% of males
Achromatomaly #c16db1 ≈ 0.001% of males
Protanopia #0176e0 ≈ 1.01% of males
Deuteranopia #7895d7 ≈ 1.27% of males
Tritanopia #ff3282 ≈ 0.0001% of males
Protanomaly #a65ddf ≈ 1.08% of males
Deuteranomaly #bb76d9 ≈ 4.63% of males
Tritanomaly #ff26ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fa04dc {
  color: #fa04dc;
}
Background
.bg-fa04dc {
  background-color: #fa04dc;
  color: #000000;
}
Border
.border-fa04dc {
  border: 2px solid #fa04dc;
}
CSS variables
:root {
  --color-primary: #fa04dc;
  --color-primary-rgb: 250 4 220;
  --color-primary-hsl: 307 97% 50%;
}
Gradient
.gradient-fa04dc {
  background: linear-gradient(135deg, #fa04dc, #fa0461);
}
Colored shadow
.shadow-fa04dc {
  box-shadow: 0 8px 24px rgb(250 4 220 / 0.35);
}

Shocking Pink
#fa04dc  rgb(250, 4, 220)  hsl(307, 97%, 50%)  Shocking Pink
#04fa22  rgb(4, 250, 34)  hsl(127, 97%, 50%)  Lime
#dcfa04  rgb(220, 250, 4)  hsl(67, 97%, 50%)  Chartreuse Yellow
#04dcfa  rgb(4, 220, 250)  hsl(187, 97%, 50%)  Sky Blue