#FF0CD9

#ff0cd9 ≈ Shocking Pink

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

#ff0cd9 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 85.1% blue; printed in CMYK it uses 0% cyan, 95.29% magenta, 14.9% yellow and 0% black. Its hue angle is 309.38°, 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.31:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.73.

Description generated from the measured properties of this color.

Conversions of #ff0cd9 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.2653

Readable text 3.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.31:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8d8d8d ≈ 0.003% of males
Achromatomaly #c570b0 ≈ 0.001% of males
Protanopia #1f78dd ≈ 1.01% of males
Deuteranopia #7f98d4 ≈ 1.27% of males
Tritanopia #ff2e81 ≈ 0.0001% of males
Protanomaly #ab5fdc ≈ 1.08% of males
Deuteranomaly #c079d6 ≈ 4.63% of males
Tritanomaly #ff24ab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ff0cd9  rgb(255, 12, 217)  hsl(309, 100%, 52%)  Shocking Pink
#0cff32  rgb(12, 255, 50)  hsl(129, 100%, 52%)  Lime
#d9ff0c  rgb(217, 255, 12)  hsl(69, 100%, 52%)  Chartreuse Yellow
#0cd9ff  rgb(12, 217, 255)  hsl(189, 100%, 52%)  Sky Blue