#F017CB

#f017cb ≈ Shocking Pink

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

#f017cb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 94.12% red, 9.02% green and 79.61% blue; printed in CMYK it uses 0% cyan, 90.42% magenta, 15.42% yellow and 5.88% black. Its hue angle is 310.23°, with 87.85% saturation and 51.57% 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.69:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.19.

Description generated from the measured properties of this color.

Conversions of #f017cb 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.2345

Readable text 3.69:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.69:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #858585 ≈ 0.003% of males
Achromatomaly #ba6aa6 ≈ 0.001% of males
Protanopia #2671cf ≈ 1.01% of males
Deuteranopia #7990c7 ≈ 1.27% of males
Tritanopia #fd2e79 ≈ 0.0001% of males
Protanomaly #a25acd ≈ 1.08% of males
Deuteranomaly #b573c8 ≈ 4.63% of males
Tritanomaly #f827a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f017cb {
  color: #f017cb;
}
Background
.bg-f017cb {
  background-color: #f017cb;
  color: #000000;
}
Border
.border-f017cb {
  border: 2px solid #f017cb;
}
CSS variables
:root {
  --color-primary: #f017cb;
  --color-primary-rgb: 240 23 203;
  --color-primary-hsl: 310 88% 52%;
}
Gradient
.gradient-f017cb {
  background: linear-gradient(135deg, #f017cb, #f0175f);
}
Colored shadow
.shadow-f017cb {
  box-shadow: 0 8px 24px rgb(240 23 203 / 0.35);
}

Shocking Pink
#f017cb  rgb(240, 23, 203)  hsl(310, 88%, 52%)  Shocking Pink
#17f03c  rgb(23, 240, 60)  hsl(130, 88%, 52%)  Lime
#cbf017  rgb(203, 240, 23)  hsl(70, 88%, 52%)  Electric Lime
#17cbf0  rgb(23, 203, 240)  hsl(190, 88%, 52%)  Sky Blue