#FF0CCB

#ff0ccb ≈ Shocking Pink

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

#ff0ccb 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 79.61% blue; printed in CMYK it uses 0% cyan, 95.29% magenta, 20.39% yellow and 0% black. Its hue angle is 312.84°, 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.17:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 1.67.

Description generated from the measured properties of this color.

Conversions of #ff0ccb 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.2583

Readable text 3.41:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.17:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8b8b8b ≈ 0.003% of males
Achromatomaly #c46ea8 ≈ 0.001% of males
Protanopia #3475cf ≈ 1.01% of males
Deuteranopia #8597c6 ≈ 1.27% of males
Tritanopia #ff1e78 ≈ 0.0001% of males
Protanomaly #ad5ccd ≈ 1.08% of males
Deuteranomaly #c278c8 ≈ 4.63% of males
Tritanomaly #ff18a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ff0ccb  rgb(255, 12, 203)  hsl(313, 100%, 52%)  Shocking Pink
#0cff40  rgb(12, 255, 64)  hsl(133, 100%, 52%)  Lime
#cbff0c  rgb(203, 255, 12)  hsl(73, 100%, 52%)  Electric Lime
#0ccbff  rgb(12, 203, 255)  hsl(193, 100%, 52%)  Deep Sky Blue