#DB12BF

#db12bf ≈ Shocking Pink

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

#db12bf is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 85.88% red, 7.06% green and 74.9% blue; printed in CMYK it uses 0% cyan, 91.78% magenta, 12.79% yellow and 14.12% black. Its hue angle is 308.36°, with 84.81% saturation and 46.47% 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.85:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.84.

Description generated from the measured properties of this color.

Conversions of #db12bf 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.1925

Readable text 4.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #a9609a ≈ 0.001% of males
Protanopia #1568c3 ≈ 1.01% of males
Deuteranopia #6b83bb ≈ 1.27% of males
Tritanopia #e72e71 ≈ 0.0001% of males
Protanomaly #9252c1 ≈ 1.08% of males
Deuteranomaly #a468bd ≈ 4.63% of males
Tritanomaly #e22597 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-db12bf {
  color: #db12bf;
}
Background
.bg-db12bf {
  background-color: #db12bf;
  color: #000000;
}
Border
.border-db12bf {
  border: 2px solid #db12bf;
}
CSS variables
:root {
  --color-primary: #db12bf;
  --color-primary-rgb: 219 18 191;
  --color-primary-hsl: 308 85% 46%;
}
Gradient
.gradient-db12bf {
  background: linear-gradient(135deg, #db12bf, #db125a);
}
Colored shadow
.shadow-db12bf {
  box-shadow: 0 8px 24px rgb(219 18 191 / 0.35);
}

Shocking Pink
#db12bf  rgb(219, 18, 191)  hsl(308, 85%, 46%)  Shocking Pink
#12db2e  rgb(18, 219, 46)  hsl(128, 85%, 46%)  Malachite
#bfdb12  rgb(191, 219, 18)  hsl(68, 85%, 46%)  Pear
#12bfdb  rgb(18, 191, 219)  hsl(188, 85%, 46%)  Sky Blue