#EC0FB4

#ec0fb4 ≈ Shocking Pink

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

#ec0fb4 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 5.88% green and 70.59% blue; printed in CMYK it uses 0% cyan, 93.64% magenta, 23.73% yellow and 7.45% black. Its hue angle is 315.2°, with 88.05% saturation and 49.22% 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.29:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.39.

Description generated from the measured properties of this color.

Conversions of #ec0fb4 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.2147

Readable text 3.97:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.29:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #b56597 ≈ 0.001% of males
Protanopia #386ab8 ≈ 1.01% of males
Deuteranopia #7e8bb0 ≈ 1.27% of males
Tritanopia #fc126b ≈ 0.0001% of males
Protanomaly #a254b6 ≈ 1.08% of males
Deuteranomaly #b56fb1 ≈ 4.63% of males
Tritanomaly #f6118e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec0fb4 {
  color: #ec0fb4;
}
Background
.bg-ec0fb4 {
  background-color: #ec0fb4;
  color: #000000;
}
Border
.border-ec0fb4 {
  border: 2px solid #ec0fb4;
}
CSS variables
:root {
  --color-primary: #ec0fb4;
  --color-primary-rgb: 236 15 180;
  --color-primary-hsl: 315 88% 49%;
}
Gradient
.gradient-ec0fb4 {
  background: linear-gradient(135deg, #ec0fb4, #ec0f46);
}
Colored shadow
.shadow-ec0fb4 {
  box-shadow: 0 8px 24px rgb(236 15 180 / 0.35);
}

Shocking Pink
#ec0fb4  rgb(236, 15, 180)  hsl(315, 88%, 49%)  Shocking Pink
#0fec47  rgb(15, 236, 71)  hsl(135, 88%, 49%)  Malachite
#b4ec0f  rgb(180, 236, 15)  hsl(75, 88%, 49%)  Spring Bud
#0fb4ec  rgb(15, 180, 236)  hsl(195, 88%, 49%)  Deep Sky Blue