#F12DCA

#f12dca ≈ Shocking Pink

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

#f12dca is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 94.51% red, 17.65% green and 79.22% blue; printed in CMYK it uses 0% cyan, 81.33% magenta, 16.18% yellow and 5.49% black. Its hue angle is 311.94°, with 87.5% saturation and 56.08% 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.97:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.57.

Description generated from the measured properties of this color.

Conversions of #f12dca 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.2484

Readable text 3.52:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #898989 ≈ 0.003% of males
Achromatomaly #bc6fa7 ≈ 0.001% of males
Protanopia #3976ce ≈ 1.01% of males
Deuteranopia #7f93c6 ≈ 1.27% of males
Tritanopia #ff3a7c ≈ 0.0001% of males
Protanomaly #a561cc ≈ 1.08% of males
Deuteranomaly #b877c7 ≈ 4.63% of males
Tritanomaly #f935a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f12dca {
  color: #f12dca;
}
Background
.bg-f12dca {
  background-color: #f12dca;
  color: #000000;
}
Border
.border-f12dca {
  border: 2px solid #f12dca;
}
CSS variables
:root {
  --color-primary: #f12dca;
  --color-primary-rgb: 241 45 202;
  --color-primary-hsl: 312 88% 56%;
}
Gradient
.gradient-f12dca {
  background: linear-gradient(135deg, #f12dca, #f12d68);
}
Colored shadow
.shadow-f12dca {
  box-shadow: 0 8px 24px rgb(241 45 202 / 0.35);
}

Shocking Pink
#f12dca  rgb(241, 45, 202)  hsl(312, 88%, 56%)  Shocking Pink
#2df154  rgb(45, 241, 84)  hsl(132, 88%, 56%)  Spring Green
#caf12d  rgb(202, 241, 45)  hsl(72, 88%, 56%)  Electric Lime
#2dcaf1  rgb(45, 202, 241)  hsl(192, 88%, 56%)  Sky Blue