#F402CD

#f402cd ≈ Shocking Pink

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

#f402cd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 95.69% red, 0.78% green and 80.39% blue; printed in CMYK it uses 0% cyan, 99.18% magenta, 15.98% yellow and 4.31% black. Its hue angle is 309.67°, with 98.37% saturation and 48.24% 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.74:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.08.

Description generated from the measured properties of this color.

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

Readable text 3.66:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.74:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #bc69a7 ≈ 0.001% of males
Protanopia #1e71d1 ≈ 1.01% of males
Deuteranopia #7a91c9 ≈ 1.27% of males
Tritanopia #ff2679 ≈ 0.0001% of males
Protanomaly #a459d0 ≈ 1.08% of males
Deuteranomaly #b873ca ≈ 4.63% of males
Tritanomaly #fd1da1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f402cd {
  color: #f402cd;
}
Background
.bg-f402cd {
  background-color: #f402cd;
  color: #000000;
}
Border
.border-f402cd {
  border: 2px solid #f402cd;
}
CSS variables
:root {
  --color-primary: #f402cd;
  --color-primary-rgb: 244 2 205;
  --color-primary-hsl: 310 98% 48%;
}
Gradient
.gradient-f402cd {
  background: linear-gradient(135deg, #f402cd, #f40254);
}
Colored shadow
.shadow-f402cd {
  box-shadow: 0 8px 24px rgb(244 2 205 / 0.35);
}

Shocking Pink
#f402cd  rgb(244, 2, 205)  hsl(310, 98%, 48%)  Shocking Pink
#02f429  rgb(2, 244, 41)  hsl(130, 98%, 48%)  Lime
#cdf402  rgb(205, 244, 2)  hsl(70, 98%, 48%)  Electric Lime
#02cdf4  rgb(2, 205, 244)  hsl(190, 98%, 48%)  Sky Blue