#D504BB

#d504bb ≈ Shocking Pink

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

#d504bb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.53% red, 1.57% green and 73.33% blue; printed in CMYK it uses 0% cyan, 98.12% magenta, 12.21% yellow and 16.47% black. Its hue angle is 307.46°, with 96.31% saturation and 42.55% 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. White text on this color reaches a contrast ratio of 4.6:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 8.43.

Description generated from the measured properties of this color.

Conversions of #d504bb 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.1782

Readable text 4.6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.56:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #a45c96 ≈ 0.001% of males
Protanopia #0364bf ≈ 1.01% of males
Deuteranopia #667fb7 ≈ 1.27% of males
Tritanopia #e0296e ≈ 0.0001% of males
Protanomaly #8d4ebd ≈ 1.08% of males
Deuteranomaly #9f64b9 ≈ 4.63% of males
Tritanomaly #dc1f93 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d504bb {
  color: #d504bb;
}
Background
.bg-d504bb {
  background-color: #d504bb;
  color: #ffffff;
}
Border
.border-d504bb {
  border: 2px solid #d504bb;
}
CSS variables
:root {
  --color-primary: #d504bb;
  --color-primary-rgb: 213 4 187;
  --color-primary-hsl: 307 96% 43%;
}
Gradient
.gradient-d504bb {
  background: linear-gradient(135deg, #d504bb, #d50453);
}
Colored shadow
.shadow-d504bb {
  box-shadow: 0 8px 24px rgb(213 4 187 / 0.35);
}

Shocking Pink
#d504bb  rgb(213, 4, 187)  hsl(307, 96%, 43%)  Shocking Pink
#04d51e  rgb(4, 213, 30)  hsl(127, 96%, 43%)  Lime Green
#bbd504  rgb(187, 213, 4)  hsl(67, 96%, 43%)  Pear
#04bbd5  rgb(4, 187, 213)  hsl(187, 96%, 43%)  Dark Turquoise