#EA1FA7

#ea1fa7 ≈ Shocking Pink

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

#ea1fa7 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 91.76% red, 12.16% green and 65.49% blue; printed in CMYK it uses 0% cyan, 86.75% magenta, 28.63% yellow and 8.24% black. Its hue angle is 319.8°, with 82.86% saturation and 51.96% 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.25:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.52.

Description generated from the measured properties of this color.

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

Readable text 4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.25:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #b46691 ≈ 0.001% of males
Protanopia #466aaa ≈ 1.01% of males
Deuteranopia #838ba3 ≈ 1.27% of males
Tritanopia #fb1065 ≈ 0.0001% of males
Protanomaly #a355a9 ≈ 1.08% of males
Deuteranomaly #b56fa4 ≈ 4.63% of males
Tritanomaly #f41785 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ea1fa7 {
  color: #ea1fa7;
}
Background
.bg-ea1fa7 {
  background-color: #ea1fa7;
  color: #000000;
}
Border
.border-ea1fa7 {
  border: 2px solid #ea1fa7;
}
CSS variables
:root {
  --color-primary: #ea1fa7;
  --color-primary-rgb: 234 31 167;
  --color-primary-hsl: 320 83% 52%;
}
Gradient
.gradient-ea1fa7 {
  background: linear-gradient(135deg, #ea1fa7, #ea1f42);
}
Colored shadow
.shadow-ea1fa7 {
  box-shadow: 0 8px 24px rgb(234 31 167 / 0.35);
}

Shocking Pink
#ea1fa7  rgb(234, 31, 167)  hsl(320, 83%, 52%)  Shocking Pink
#1fea62  rgb(31, 234, 98)  hsl(140, 83%, 52%)  Malachite
#a7ea1f  rgb(167, 234, 31)  hsl(80, 83%, 52%)  Spring Bud
#1fa7ea  rgb(31, 167, 234)  hsl(200, 83%, 52%)  Carolina Blue