#F02DCB

#f02dcb ≈ Shocking Pink

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

#f02dcb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 94.12% red, 17.65% green and 79.61% blue; printed in CMYK it uses 0% cyan, 81.25% magenta, 15.42% yellow and 5.88% black. Its hue angle is 311.38°, with 86.67% saturation and 55.88% 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 5.94:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.82.

Description generated from the measured properties of this color.

Conversions of #f02dcb into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ff33cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2471

Readable text 3.53:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.94:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #bb6fa7 ≈ 0.001% of males
Protanopia #3776cf ≈ 1.01% of males
Deuteranopia #7d93c7 ≈ 1.27% of males
Tritanopia #fd3b7d ≈ 0.0001% of males
Protanomaly #a461cd ≈ 1.08% of males
Deuteranomaly #b777c8 ≈ 4.63% of males
Tritanomaly #f836a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f02dcb {
  color: #f02dcb;
}
Background
.bg-f02dcb {
  background-color: #f02dcb;
  color: #000000;
}
Border
.border-f02dcb {
  border: 2px solid #f02dcb;
}
CSS variables
:root {
  --color-primary: #f02dcb;
  --color-primary-rgb: 240 45 203;
  --color-primary-hsl: 311 87% 56%;
}
Gradient
.gradient-f02dcb {
  background: linear-gradient(135deg, #f02dcb, #f02d6a);
}
Colored shadow
.shadow-f02dcb {
  box-shadow: 0 8px 24px rgb(240 45 203 / 0.35);
}

Shocking Pink
#f02dcb  rgb(240, 45, 203)  hsl(311, 87%, 56%)  Shocking Pink
#2df052  rgb(45, 240, 82)  hsl(131, 87%, 56%)  Malachite
#cbf02d  rgb(203, 240, 45)  hsl(71, 87%, 56%)  Electric Lime
#2dcbf0  rgb(45, 203, 240)  hsl(191, 87%, 56%)  Sky Blue