#FA40D8

#fa40d8 ≈ Shocking Pink

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

#fa40d8 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 98.04% red, 25.1% green and 84.71% blue; printed in CMYK it uses 0% cyan, 74.4% magenta, 13.6% yellow and 1.96% black. Its hue angle is 310.97°, with 94.9% saturation and 61.57% 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.79:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.75.

Description generated from the measured properties of this color.

Conversions of #fa40d8 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.2895

Readable text 3.09:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #929292 ≈ 0.003% of males
Achromatomaly #c57ab3 ≈ 0.001% of males
Protanopia #4581dc ≈ 1.01% of males
Deuteranopia #869cd4 ≈ 1.27% of males
Tritanopia #ff4d89 ≈ 0.0001% of males
Protanomaly #ad6cda ≈ 1.08% of males
Deuteranomaly #c082d5 ≈ 4.63% of males
Tritanomaly #ff48ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fa40d8 {
  color: #fa40d8;
}
Background
.bg-fa40d8 {
  background-color: #fa40d8;
  color: #000000;
}
Border
.border-fa40d8 {
  border: 2px solid #fa40d8;
}
CSS variables
:root {
  --color-primary: #fa40d8;
  --color-primary-rgb: 250 64 216;
  --color-primary-hsl: 311 95% 62%;
}
Gradient
.gradient-fa40d8 {
  background: linear-gradient(135deg, #fa40d8, #fa407b);
}
Colored shadow
.shadow-fa40d8 {
  box-shadow: 0 8px 24px rgb(250 64 216 / 0.35);
}

Shocking Pink
#fa40d8  rgb(250, 64, 216)  hsl(311, 95%, 62%)  Shocking Pink
#40fa62  rgb(64, 250, 98)  hsl(131, 95%, 62%)  Spring Green
#d8fa40  rgb(216, 250, 64)  hsl(71, 95%, 62%)  Electric Lime
#40d8fa  rgb(64, 216, 250)  hsl(191, 95%, 62%)  Sky Blue