#F840BC

#f840bc ≈ Shocking Pink

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

#f840bc is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 97.25% red, 25.1% green and 73.73% blue; printed in CMYK it uses 0% cyan, 74.19% magenta, 24.19% yellow and 2.75% black. Its hue angle is 319.57°, with 92.93% saturation and 61.18% 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.45:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.23.

Description generated from the measured properties of this color.

Conversions of #f840bc 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.2725

Readable text 3.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.45:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8e8e8e ≈ 0.003% of males
Achromatomaly #c277a3 ≈ 0.001% of males
Protanopia #567bbf ≈ 1.01% of males
Deuteranopia #8f9ab8 ≈ 1.27% of males
Tritanopia #ff3e79 ≈ 0.0001% of males
Protanomaly #b068be ≈ 1.08% of males
Deuteranomaly #c27fba ≈ 4.63% of males
Tritanomaly #ff3f99 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f840bc {
  color: #f840bc;
}
Background
.bg-f840bc {
  background-color: #f840bc;
  color: #000000;
}
Border
.border-f840bc {
  border: 2px solid #f840bc;
}
CSS variables
:root {
  --color-primary: #f840bc;
  --color-primary-rgb: 248 64 188;
  --color-primary-hsl: 320 93% 61%;
}
Gradient
.gradient-f840bc {
  background: linear-gradient(135deg, #f840bc, #f84060);
}
Colored shadow
.shadow-f840bc {
  box-shadow: 0 8px 24px rgb(248 64 188 / 0.35);
}

Shocking Pink
#f840bc  rgb(248, 64, 188)  hsl(320, 93%, 61%)  Shocking Pink
#40f87c  rgb(64, 248, 124)  hsl(140, 93%, 61%)  Spring Green
#bcf840  rgb(188, 248, 64)  hsl(80, 93%, 61%)  Green Yellow
#40bcf8  rgb(64, 188, 248)  hsl(200, 93%, 61%)  Deep Sky Blue