#F42DCC

#f42dcc ≈ Shocking Pink

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

#f42dcc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 95.69% red, 17.65% green and 80% blue; printed in CMYK it uses 0% cyan, 81.56% magenta, 16.39% yellow and 4.31% black. Its hue angle is 312.06°, with 90.05% saturation and 56.67% 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.09:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.54.

Description generated from the measured properties of this color.

Conversions of #f42dcc 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.2547

Readable text 3.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.09:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8a8a8a ≈ 0.003% of males
Achromatomaly #be70a9 ≈ 0.001% of males
Protanopia #3a77d0 ≈ 1.01% of males
Deuteranopia #8095c8 ≈ 1.27% of males
Tritanopia #ff3a7d ≈ 0.0001% of males
Protanomaly #a762ce ≈ 1.08% of males
Deuteranomaly #ba79c9 ≈ 4.63% of males
Tritanomaly #fc35a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f42dcc {
  color: #f42dcc;
}
Background
.bg-f42dcc {
  background-color: #f42dcc;
  color: #000000;
}
Border
.border-f42dcc {
  border: 2px solid #f42dcc;
}
CSS variables
:root {
  --color-primary: #f42dcc;
  --color-primary-rgb: 244 45 204;
  --color-primary-hsl: 312 90% 57%;
}
Gradient
.gradient-f42dcc {
  background: linear-gradient(135deg, #f42dcc, #f42d69);
}
Colored shadow
.shadow-f42dcc {
  box-shadow: 0 8px 24px rgb(244 45 204 / 0.35);
}

Shocking Pink
#f42dcc  rgb(244, 45, 204)  hsl(312, 90%, 57%)  Shocking Pink
#2df455  rgb(45, 244, 85)  hsl(132, 90%, 57%)  Spring Green
#ccf42d  rgb(204, 244, 45)  hsl(72, 90%, 57%)  Electric Lime
#2dccf4  rgb(45, 204, 244)  hsl(192, 90%, 57%)  Sky Blue