#E304BF

#e304bf ≈ Shocking Pink

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

#e304bf is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 89.02% red, 1.57% green and 74.9% blue; printed in CMYK it uses 0% cyan, 98.24% magenta, 15.86% yellow and 10.98% black. Its hue angle is 309.69°, with 96.54% saturation and 45.29% 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.04:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.44.

Description generated from the measured properties of this color.

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

Readable text 4.17:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.04:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #af629b ≈ 0.001% of males
Protanopia #1c69c3 ≈ 1.01% of males
Deuteranopia #7187bb ≈ 1.27% of males
Tritanopia #f02470 ≈ 0.0001% of males
Protanomaly #9852c1 ≈ 1.08% of males
Deuteranomaly #ab6abc ≈ 4.63% of males
Tritanomaly #eb1b96 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e304bf {
  color: #e304bf;
}
Background
.bg-e304bf {
  background-color: #e304bf;
  color: #000000;
}
Border
.border-e304bf {
  border: 2px solid #e304bf;
}
CSS variables
:root {
  --color-primary: #e304bf;
  --color-primary-rgb: 227 4 191;
  --color-primary-hsl: 310 97% 45%;
}
Gradient
.gradient-e304bf {
  background: linear-gradient(135deg, #e304bf, #e3044f);
}
Colored shadow
.shadow-e304bf {
  box-shadow: 0 8px 24px rgb(227 4 191 / 0.35);
}

Shocking Pink
#e304bf  rgb(227, 4, 191)  hsl(310, 97%, 45%)  Shocking Pink
#04e328  rgb(4, 227, 40)  hsl(130, 97%, 45%)  Malachite
#bfe304  rgb(191, 227, 4)  hsl(70, 97%, 45%)  Pear
#04bfe3  rgb(4, 191, 227)  hsl(190, 97%, 45%)  Deep Sky Blue