#EC34B2

#ec34b2 ≈ Shocking Pink

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

#ec34b2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 92.55% red, 20.39% green and 69.8% blue; printed in CMYK it uses 0% cyan, 77.97% magenta, 24.58% yellow and 7.45% black. Its hue angle is 318.91°, with 82.88% saturation and 56.47% 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.7:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.87.

Description generated from the measured properties of this color.

Conversions of #ec34b2 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.235

Readable text 3.68:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.7:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #858585 ≈ 0.003% of males
Achromatomaly #b86e99 ≈ 0.001% of males
Protanopia #4c72b5 ≈ 1.01% of males
Deuteranopia #8590ae ≈ 1.27% of males
Tritanopia #fc3270 ≈ 0.0001% of males
Protanomaly #a65fb4 ≈ 1.08% of males
Deuteranomaly #b876b0 ≈ 4.63% of males
Tritanomaly #f6338f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec34b2 {
  color: #ec34b2;
}
Background
.bg-ec34b2 {
  background-color: #ec34b2;
  color: #000000;
}
Border
.border-ec34b2 {
  border: 2px solid #ec34b2;
}
CSS variables
:root {
  --color-primary: #ec34b2;
  --color-primary-rgb: 236 52 178;
  --color-primary-hsl: 319 83% 56%;
}
Gradient
.gradient-ec34b2 {
  background: linear-gradient(135deg, #ec34b2, #ec3456);
}
Colored shadow
.shadow-ec34b2 {
  box-shadow: 0 8px 24px rgb(236 52 178 / 0.35);
}

Shocking Pink
#ec34b2  rgb(236, 52, 178)  hsl(319, 83%, 56%)  Shocking Pink
#34ec6e  rgb(52, 236, 110)  hsl(139, 83%, 56%)  Spring Green
#b2ec34  rgb(178, 236, 52)  hsl(79, 83%, 56%)  Inchworm
#34b2ec  rgb(52, 178, 236)  hsl(199, 83%, 56%)  Deep Sky Blue