#DC0FB1

#dc0fb1 ≈ Shocking Pink

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

#dc0fb1 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 5.88% green and 69.41% blue; printed in CMYK it uses 0% cyan, 93.18% magenta, 19.55% yellow and 13.73% black. Its hue angle is 312.59°, with 87.23% saturation and 46.08% 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 4.75:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.65.

Description generated from the measured properties of this color.

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

Readable text 4.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #a95f92 ≈ 0.001% of males
Protanopia #2b65b5 ≈ 1.01% of males
Deuteranopia #7282ad ≈ 1.27% of males
Tritanopia #ea1e69 ≈ 0.0001% of males
Protanomaly #9550b3 ≈ 1.08% of males
Deuteranomaly #a767af ≈ 4.63% of males
Tritanomaly #e4198b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dc0fb1 {
  color: #dc0fb1;
}
Background
.bg-dc0fb1 {
  background-color: #dc0fb1;
  color: #000000;
}
Border
.border-dc0fb1 {
  border: 2px solid #dc0fb1;
}
CSS variables
:root {
  --color-primary: #dc0fb1;
  --color-primary-rgb: 220 15 177;
  --color-primary-hsl: 313 87% 46%;
}
Gradient
.gradient-dc0fb1 {
  background: linear-gradient(135deg, #dc0fb1, #dc0f4a);
}
Colored shadow
.shadow-dc0fb1 {
  box-shadow: 0 8px 24px rgb(220 15 177 / 0.35);
}

Shocking Pink
#dc0fb1  rgb(220, 15, 177)  hsl(313, 87%, 46%)  Shocking Pink
#0fdc3a  rgb(15, 220, 58)  hsl(133, 87%, 46%)  Malachite
#b1dc0f  rgb(177, 220, 15)  hsl(73, 87%, 46%)  June Bud
#0fb1dc  rgb(15, 177, 220)  hsl(193, 87%, 46%)  Deep Sky Blue