#D712BA

#d712ba ≈ Shocking Pink

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

#d712ba is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 84.31% red, 7.06% green and 72.94% blue; printed in CMYK it uses 0% cyan, 91.63% magenta, 13.49% yellow and 15.69% black. Its hue angle is 308.83°, with 84.55% saturation and 45.69% 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.68:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 7.61.

Description generated from the measured properties of this color.

Conversions of #d712ba 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.1842

Readable text 4.48:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.68:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #a65e96 ≈ 0.001% of males
Protanopia #1865be ≈ 1.01% of males
Deuteranopia #6a80b6 ≈ 1.27% of males
Tritanopia #e32c6e ≈ 0.0001% of males
Protanomaly #9050bc ≈ 1.08% of males
Deuteranomaly #a166b8 ≈ 4.63% of males
Tritanomaly #de2493 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#d712ba  rgb(215, 18, 186)  hsl(309, 85%, 46%)  Shocking Pink
#12d72f  rgb(18, 215, 47)  hsl(129, 85%, 46%)  Lime Green
#bad712  rgb(186, 215, 18)  hsl(69, 85%, 46%)  Pear
#12bad7  rgb(18, 186, 215)  hsl(189, 85%, 46%)  Moonstone Blue