#F40CAA

#f40caa ≈ Shocking Pink

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

#f40caa 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 66.67% blue; printed in CMYK it uses 0% cyan, 95.08% magenta, 30.33% yellow and 4.31% black. Its hue angle is 319.14°, 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.48:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.62.

Description generated from the measured properties of this color.

Conversions of #f40caa into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ff0099
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.224

Readable text 3.83:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.48:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #bb6794 ≈ 0.001% of males
Protanopia #456bad ≈ 1.01% of males
Deuteranopia #878fa6 ≈ 1.27% of males
Tritanopia #ff0065 ≈ 0.0001% of males
Protanomaly #a954ac ≈ 1.08% of males
Deuteranomaly #bd71a7 ≈ 4.63% of males
Tritanomaly #ff0086 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#f40caa  rgb(244, 12, 170)  hsl(319, 91%, 50%)  Shocking Pink
#0cf456  rgb(12, 244, 86)  hsl(139, 91%, 50%)  Spring Green
#aaf40c  rgb(170, 244, 12)  hsl(79, 91%, 50%)  Spring Bud
#0caaf4  rgb(12, 170, 244)  hsl(199, 91%, 50%)  Carolina Blue