#F022CD

#f022cd ≈ Shocking Pink

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

#f022cd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 94.12% red, 13.33% green and 80.39% blue; printed in CMYK it uses 0% cyan, 85.83% magenta, 14.58% yellow and 5.88% black. Its hue angle is 310.19°, with 87.29% saturation and 53.73% 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.82:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.2.

Description generated from the measured properties of this color.

Conversions of #f022cd 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.2408

Readable text 3.61:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.82:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #878787 ≈ 0.003% of males
Achromatomaly #ba6ca7 ≈ 0.001% of males
Protanopia #2b73d1 ≈ 1.01% of males
Deuteranopia #7a91c9 ≈ 1.27% of males
Tritanopia #fd367c ≈ 0.0001% of males
Protanomaly #a25dcf ≈ 1.08% of males
Deuteranomaly #b675ca ≈ 4.63% of males
Tritanomaly #f82fa3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#f022cd  rgb(240, 34, 205)  hsl(310, 87%, 54%)  Shocking Pink
#22f045  rgb(34, 240, 69)  hsl(130, 87%, 54%)  Lime
#cdf022  rgb(205, 240, 34)  hsl(70, 87%, 54%)  Electric Lime
#22cdf0  rgb(34, 205, 240)  hsl(190, 87%, 54%)  Sky Blue