#871981

#871981 ≈ Mardi Gras

  • magenta
  • Lightness: low
  • Saturation: moderate
  • Balanced

#871981 is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 52.94% red, 9.8% green and 50.59% blue; printed in CMYK it uses 0% cyan, 81.48% magenta, 4.44% yellow and 47.06% black. Its hue angle is 303.27°, with 68.75% saturation and 31.37% 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 corporate identities. White text on this color reaches a contrast ratio of 8.45:1 (WCAG AAA). The closest named color is Mardi Gras (#880085), ΔE 1.95.

Description generated from the measured properties of this color.

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

Readable text 8.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #693e66 ≈ 0.001% of males
Protanopia #074484 ≈ 1.01% of males
Deuteranopia #3d527e ≈ 1.27% of males
Tritanopia #8c294d ≈ 0.0001% of males
Protanomaly #583783 ≈ 1.08% of males
Deuteranomaly #63427f ≈ 4.63% of males
Tritanomaly #8a2466 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-871981 {
  color: #871981;
}
Background
.bg-871981 {
  background-color: #871981;
  color: #ffffff;
}
Border
.border-871981 {
  border: 2px solid #871981;
}
CSS variables
:root {
  --color-primary: #871981;
  --color-primary-rgb: 135 25 129;
  --color-primary-hsl: 303 69% 31%;
}
Gradient
.gradient-871981 {
  background: linear-gradient(135deg, #871981, #87194a);
}
Colored shadow
.shadow-871981 {
  box-shadow: 0 8px 24px rgb(135 25 129 / 0.35);
}

Mardi Gras
#871981  rgb(135, 25, 129)  hsl(303, 69%, 31%)  Mardi Gras
#19871f  rgb(25, 135, 31)  hsl(123, 69%, 31%)  Forest Green
#818719  rgb(129, 135, 25)  hsl(63, 69%, 31%)  Olive
#198187  rgb(25, 129, 135)  hsl(183, 69%, 31%)  Teal