#EF40D3

#ef40d3 ≈ Shocking Pink

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

#ef40d3 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 93.73% red, 25.1% green and 82.75% blue; printed in CMYK it uses 0% cyan, 73.22% magenta, 11.72% yellow and 6.27% black. Its hue angle is 309.6°, with 84.54% saturation and 59.41% 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.34:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.33.

Description generated from the measured properties of this color.

Conversions of #ef40d3 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.2672

Readable text 3.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8d8d8d ≈ 0.003% of males
Achromatomaly #bc76ae ≈ 0.001% of males
Protanopia #407dd7 ≈ 1.01% of males
Deuteranopia #7f96cf ≈ 1.27% of males
Tritanopia #fb4e86 ≈ 0.0001% of males
Protanomaly #a56ad5 ≈ 1.08% of males
Deuteranomaly #b77dd1 ≈ 4.63% of males
Tritanomaly #f649aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ef40d3 {
  color: #ef40d3;
}
Background
.bg-ef40d3 {
  background-color: #ef40d3;
  color: #000000;
}
Border
.border-ef40d3 {
  border: 2px solid #ef40d3;
}
CSS variables
:root {
  --color-primary: #ef40d3;
  --color-primary-rgb: 239 64 211;
  --color-primary-hsl: 310 85% 59%;
}
Gradient
.gradient-ef40d3 {
  background: linear-gradient(135deg, #ef40d3, #ef407b);
}
Colored shadow
.shadow-ef40d3 {
  box-shadow: 0 8px 24px rgb(239 64 211 / 0.35);
}

Shocking Pink
#ef40d3  rgb(239, 64, 211)  hsl(310, 85%, 59%)  Shocking Pink
#40ef5c  rgb(64, 239, 92)  hsl(130, 85%, 59%)  Spring Green
#d3ef40  rgb(211, 239, 64)  hsl(70, 85%, 59%)  Pear
#40d3ef  rgb(64, 211, 239)  hsl(190, 85%, 59%)  Sky Blue