#F042CD

#f042cd ≈ Shocking Pink

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#f042cd is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 94.12% red, 25.88% green and 80.39% blue; printed in CMYK it uses 0% cyan, 72.5% magenta, 14.58% yellow and 5.88% black. Its hue angle is 312.07°, with 85.29% saturation and 60% 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 6.37:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.7.

Description generated from the measured properties of this color.

Conversions of #f042cd 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.2683

Readable text 3.3:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.37:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8d8d8d ≈ 0.003% of males
Achromatomaly #bd76ab ≈ 0.001% of males
Protanopia #487cd1 ≈ 1.01% of males
Deuteranopia #8397c9 ≈ 1.27% of males
Tritanopia #fd4c83 ≈ 0.0001% of males
Protanomaly #a76acf ≈ 1.08% of males
Deuteranomaly #b97ecb ≈ 4.63% of males
Tritanomaly #f848a6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f042cd {
  color: #f042cd;
}
Background
.bg-f042cd {
  background-color: #f042cd;
  color: #000000;
}
Border
.border-f042cd {
  border: 2px solid #f042cd;
}
CSS variables
:root {
  --color-primary: #f042cd;
  --color-primary-rgb: 240 66 205;
  --color-primary-hsl: 312 85% 60%;
}
Gradient
.gradient-f042cd {
  background: linear-gradient(135deg, #f042cd, #f04276);
}
Colored shadow
.shadow-f042cd {
  box-shadow: 0 8px 24px rgb(240 66 205 / 0.35);
}

Shocking Pink
#f042cd  rgb(240, 66, 205)  hsl(312, 85%, 60%)  Shocking Pink
#42f065  rgb(66, 240, 101)  hsl(132, 85%, 60%)  Spring Green
#cdf042  rgb(205, 240, 66)  hsl(72, 85%, 60%)  Electric Lime
#42cdf0  rgb(66, 205, 240)  hsl(192, 85%, 60%)  Sky Blue