#F40CD8

#f40cd8 ≈ Shocking Pink

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

#f40cd8 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 95.69% red, 4.71% green and 84.71% blue; printed in CMYK it uses 0% cyan, 95.08% magenta, 11.48% yellow and 4.31% black. Its hue angle is 307.24°, with 91.34% saturation and 50.2% 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 5.89:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.39.

Description generated from the measured properties of this color.

Conversions of #f40cd8 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.2445

Readable text 3.56:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.89:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #bd6bae ≈ 0.001% of males
Protanopia #0374dc ≈ 1.01% of males
Deuteranopia #7592d3 ≈ 1.27% of males
Tritanopia #ff3480 ≈ 0.0001% of males
Protanomaly #a25cdb ≈ 1.08% of males
Deuteranomaly #b674d5 ≈ 4.63% of males
Tritanomaly #fc29aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f40cd8 {
  color: #f40cd8;
}
Background
.bg-f40cd8 {
  background-color: #f40cd8;
  color: #000000;
}
Border
.border-f40cd8 {
  border: 2px solid #f40cd8;
}
CSS variables
:root {
  --color-primary: #f40cd8;
  --color-primary-rgb: 244 12 216;
  --color-primary-hsl: 307 91% 50%;
}
Gradient
.gradient-f40cd8 {
  background: linear-gradient(135deg, #f40cd8, #f40c64);
}
Colored shadow
.shadow-f40cd8 {
  box-shadow: 0 8px 24px rgb(244 12 216 / 0.35);
}

Shocking Pink
#f40cd8  rgb(244, 12, 216)  hsl(307, 91%, 50%)  Shocking Pink
#0cf428  rgb(12, 244, 40)  hsl(127, 91%, 50%)  Lime
#d8f40c  rgb(216, 244, 12)  hsl(67, 91%, 50%)  Chartreuse Yellow
#0cd8f4  rgb(12, 216, 244)  hsl(187, 91%, 50%)  Dark Turquoise