#D302BB

#d302bb ≈ Shocking Pink

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

#d302bb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 0.78% green and 73.33% blue; printed in CMYK it uses 0% cyan, 99.05% magenta, 11.37% yellow and 17.25% black. Its hue angle is 306.89°, with 98.12% saturation and 41.76% 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.67:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 8.93.

Description generated from the measured properties of this color.

Conversions of #d302bb 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.1748

Readable text 4.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.5:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #a35b96 ≈ 0.001% of males
Protanopia #0063bf ≈ 1.01% of males
Deuteranopia #647db7 ≈ 1.27% of males
Tritanopia #de2a6e ≈ 0.0001% of males
Protanomaly #8b4dbd ≈ 1.08% of males
Deuteranomaly #9d63b9 ≈ 4.63% of males
Tritanomaly #da1f93 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#d302bb  rgb(211, 2, 187)  hsl(307, 98%, 42%)  Shocking Pink
#02d31a  rgb(2, 211, 26)  hsl(127, 98%, 42%)  Lime Green
#bbd302  rgb(187, 211, 2)  hsl(67, 98%, 42%)  Pear
#02bbd3  rgb(2, 187, 211)  hsl(187, 98%, 42%)  Dark Turquoise