#FF40D1

#ff40d1 ≈ Shocking Pink

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

#ff40d1 is a color from the magenta family, with high lightness and strong saturation. In the RGB model it is made of 100% red, 25.1% green and 81.96% blue; printed in CMYK it uses 0% cyan, 74.9% magenta, 18.04% yellow and 0% black. Its hue angle is 314.45°, with 100% 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.91:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.3.

Description generated from the measured properties of this color.

Conversions of #ff40d1 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.2953

Readable text 3.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.91:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #949494 ≈ 0.003% of males
Achromatomaly #c87bb0 ≈ 0.001% of males
Protanopia #4e81d5 ≈ 1.01% of males
Deuteranopia #8d9fcd ≈ 1.27% of males
Tritanopia #ff4785 ≈ 0.0001% of males
Protanomaly #b26cd3 ≈ 1.08% of males
Deuteranomaly #c583ce ≈ 4.63% of males
Tritanomaly #ff44a9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ff40d1 {
  color: #ff40d1;
}
Background
.bg-ff40d1 {
  background-color: #ff40d1;
  color: #000000;
}
Border
.border-ff40d1 {
  border: 2px solid #ff40d1;
}
CSS variables
:root {
  --color-primary: #ff40d1;
  --color-primary-rgb: 255 64 209;
  --color-primary-hsl: 314 100% 63%;
}
Gradient
.gradient-ff40d1 {
  background: linear-gradient(135deg, #ff40d1, #ff4072);
}
Colored shadow
.shadow-ff40d1 {
  box-shadow: 0 8px 24px rgb(255 64 209 / 0.35);
}

Shocking Pink
#ff40d1  rgb(255, 64, 209)  hsl(314, 100%, 63%)  Shocking Pink
#40ff6e  rgb(64, 255, 110)  hsl(134, 100%, 63%)  Spring Green
#d1ff40  rgb(209, 255, 64)  hsl(74, 100%, 63%)  Electric Lime
#40d1ff  rgb(64, 209, 255)  hsl(194, 100%, 63%)  Baby Blue