#D511BA

#d511ba ≈ Shocking Pink

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

#d511ba is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.53% red, 6.67% green and 72.94% blue; printed in CMYK it uses 0% cyan, 92.02% magenta, 12.68% yellow and 16.47% black. Its hue angle is 308.27°, with 85.22% 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.62:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 8.08.

Description generated from the measured properties of this color.

Conversions of #d511ba 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.1809

Readable text 4.55:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.62:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #a55e96 ≈ 0.001% of males
Protanopia #1365be ≈ 1.01% of males
Deuteranopia #687fb6 ≈ 1.27% of males
Tritanopia #e02c6e ≈ 0.0001% of males
Protanomaly #8e50bc ≈ 1.08% of males
Deuteranomaly #9f65b8 ≈ 4.63% of males
Tritanomaly #dc2493 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#d511ba  rgb(213, 17, 186)  hsl(308, 85%, 45%)  Shocking Pink
#11d52c  rgb(17, 213, 44)  hsl(128, 85%, 45%)  Lime Green
#bad511  rgb(186, 213, 17)  hsl(68, 85%, 45%)  Pear
#11bad5  rgb(17, 186, 213)  hsl(188, 85%, 45%)  Moonstone Blue