#FF0CC4

#ff0cc4 ≈ Shocking Pink

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

#ff0cc4 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 4.71% green and 76.86% blue; printed in CMYK it uses 0% cyan, 95.29% magenta, 23.14% yellow and 0% black. Its hue angle is 314.57°, with 100% saturation and 52.35% 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.1:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 0.71.

Description generated from the measured properties of this color.

Conversions of #ff0cc4 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.2551

Readable text 3.44:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.1:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8a8a8a ≈ 0.003% of males
Achromatomaly #c46ea5 ≈ 0.001% of males
Protanopia #3b73c8 ≈ 1.01% of males
Deuteranopia #8897bf ≈ 1.27% of males
Tritanopia #ff1374 ≈ 0.0001% of males
Protanomaly #ae5bc6 ≈ 1.08% of males
Deuteranomaly #c378c1 ≈ 4.63% of males
Tritanomaly #ff109b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ff0cc4 {
  color: #ff0cc4;
}
Background
.bg-ff0cc4 {
  background-color: #ff0cc4;
  color: #000000;
}
Border
.border-ff0cc4 {
  border: 2px solid #ff0cc4;
}
CSS variables
:root {
  --color-primary: #ff0cc4;
  --color-primary-rgb: 255 12 196;
  --color-primary-hsl: 315 100% 52%;
}
Gradient
.gradient-ff0cc4 {
  background: linear-gradient(135deg, #ff0cc4, #ff0c4a);
}
Colored shadow
.shadow-ff0cc4 {
  box-shadow: 0 8px 24px rgb(255 12 196 / 0.35);
}

Shocking Pink
#ff0cc4  rgb(255, 12, 196)  hsl(315, 100%, 52%)  Shocking Pink
#0cff47  rgb(12, 255, 71)  hsl(135, 100%, 52%)  Lime
#c4ff0c  rgb(196, 255, 12)  hsl(75, 100%, 52%)  Electric Lime
#0cc4ff  rgb(12, 196, 255)  hsl(195, 100%, 52%)  Deep Sky Blue