#D502BC

#d502bc ≈ Shocking Pink

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

#d502bc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.53% red, 0.78% green and 73.73% blue; printed in CMYK it uses 0% cyan, 99.06% magenta, 11.74% yellow and 16.47% black. Its hue angle is 307.11°, with 98.14% saturation and 42.16% 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.49.

Description generated from the measured properties of this color.

Conversions of #d502bc 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 #a45c97 ≈ 0.001% of males
Protanopia #0064c0 ≈ 1.01% of males
Deuteranopia #657fb8 ≈ 1.27% of males
Tritanopia #e0296e ≈ 0.0001% of males
Protanomaly #8d4ebe ≈ 1.08% of males
Deuteranomaly #9f64ba ≈ 4.63% of males
Tritanomaly #dc1f94 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#d502bc  rgb(213, 2, 188)  hsl(307, 98%, 42%)  Shocking Pink
#02d51b  rgb(2, 213, 27)  hsl(127, 98%, 42%)  Lime Green
#bcd502  rgb(188, 213, 2)  hsl(67, 98%, 42%)  Pear
#02bcd5  rgb(2, 188, 213)  hsl(187, 98%, 42%)  Dark Turquoise