#D412BA

#d412ba ≈ Shocking Pink

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

#d412ba is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 7.06% green and 72.94% blue; printed in CMYK it uses 0% cyan, 91.51% magenta, 12.26% yellow and 16.86% black. Its hue angle is 308.04°, with 84.35% saturation and 45.1% 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.59:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 8.27.

Description generated from the measured properties of this color.

Conversions of #d412ba 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.1797

Readable text 4.57:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.59:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #a45d96 ≈ 0.001% of males
Protanopia #1265be ≈ 1.01% of males
Deuteranopia #677fb6 ≈ 1.27% of males
Tritanopia #df2d6e ≈ 0.0001% of males
Protanomaly #8d50bc ≈ 1.08% of males
Deuteranomaly #9f65b8 ≈ 4.63% of males
Tritanomaly #db2593 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d412ba {
  color: #d412ba;
}
Background
.bg-d412ba {
  background-color: #d412ba;
  color: #000000;
}
Border
.border-d412ba {
  border: 2px solid #d412ba;
}
CSS variables
:root {
  --color-primary: #d412ba;
  --color-primary-rgb: 212 18 186;
  --color-primary-hsl: 308 84% 45%;
}
Gradient
.gradient-d412ba {
  background: linear-gradient(135deg, #d412ba, #d41259);
}
Colored shadow
.shadow-d412ba {
  box-shadow: 0 8px 24px rgb(212 18 186 / 0.35);
}

Shocking Pink
#d412ba  rgb(212, 18, 186)  hsl(308, 84%, 45%)  Shocking Pink
#12d42c  rgb(18, 212, 44)  hsl(128, 84%, 45%)  Lime Green
#bad412  rgb(186, 212, 18)  hsl(68, 84%, 45%)  Pear
#12bad4  rgb(18, 186, 212)  hsl(188, 84%, 45%)  Dark Turquoise