#DC1FA7

#dc1fa7 ≈ Shocking Pink

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

#dc1fa7 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 12.16% green and 65.49% blue; printed in CMYK it uses 0% cyan, 85.91% magenta, 24.09% yellow and 13.73% black. Its hue angle is 316.83°, with 75.3% saturation and 49.22% 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 brand accents. Black text on this color reaches a contrast ratio of 4.8:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.5.

Description generated from the measured properties of this color.

Conversions of #dc1fa7 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc3399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1899

Readable text 4.38:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.8:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #aa618e ≈ 0.001% of males
Protanopia #3b65aa ≈ 1.01% of males
Deuteranopia #7883a3 ≈ 1.27% of males
Tritanopia #eb1f65 ≈ 0.0001% of males
Protanomaly #9852a9 ≈ 1.08% of males
Deuteranomaly #a969a5 ≈ 4.63% of males
Tritanomaly #e51f85 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dc1fa7 {
  color: #dc1fa7;
}
Background
.bg-dc1fa7 {
  background-color: #dc1fa7;
  color: #000000;
}
Border
.border-dc1fa7 {
  border: 2px solid #dc1fa7;
}
CSS variables
:root {
  --color-primary: #dc1fa7;
  --color-primary-rgb: 220 31 167;
  --color-primary-hsl: 317 75% 49%;
}
Gradient
.gradient-dc1fa7 {
  background: linear-gradient(135deg, #dc1fa7, #dc1f48);
}
Colored shadow
.shadow-dc1fa7 {
  box-shadow: 0 8px 24px rgb(220 31 167 / 0.35);
}

Shocking Pink
#dc1fa7  rgb(220, 31, 167)  hsl(317, 75%, 49%)  Shocking Pink
#1fdc54  rgb(31, 220, 84)  hsl(137, 75%, 49%)  Malachite
#a7dc1f  rgb(167, 220, 31)  hsl(77, 75%, 49%)  Yellow Green
#1fa7dc  rgb(31, 167, 220)  hsl(197, 75%, 49%)  Carolina Blue