#87166D

#87166d ≈ Byzantium

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

#87166d is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 52.94% red, 8.63% green and 42.75% blue; printed in CMYK it uses 0% cyan, 83.7% magenta, 19.26% yellow and 47.06% black. Its hue angle is 313.81°, with 71.97% saturation and 30.78% 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.88:1 (WCAG AAA). The closest named color is Byzantium (#702963), ΔE 5.02.

Description generated from the measured properties of this color.

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

Readable text 8.88:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.37:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4a4a4a ≈ 0.003% of males
Achromatomaly #683b5a ≈ 0.001% of males
Protanopia #1f3f6f ≈ 1.01% of males
Deuteranopia #46506b ≈ 1.27% of males
Tritanopia #8f1b41 ≈ 0.0001% of males
Protanomaly #5b336e ≈ 1.08% of males
Deuteranomaly #66406c ≈ 4.63% of males
Tritanomaly #8c1956 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-87166d {
  color: #87166d;
}
Background
.bg-87166d {
  background-color: #87166d;
  color: #ffffff;
}
Border
.border-87166d {
  border: 2px solid #87166d;
}
CSS variables
:root {
  --color-primary: #87166d;
  --color-primary-rgb: 135 22 109;
  --color-primary-hsl: 314 72% 31%;
}
Gradient
.gradient-87166d {
  background: linear-gradient(135deg, #87166d, #871634);
}
Colored shadow
.shadow-87166d {
  box-shadow: 0 8px 24px rgb(135 22 109 / 0.35);
}

Byzantium
#87166d  rgb(135, 22, 109)  hsl(314, 72%, 31%)  Byzantium
#168730  rgb(22, 135, 48)  hsl(134, 72%, 31%)  Forest Green
#6d8716  rgb(109, 135, 22)  hsl(74, 72%, 31%)  Olive Drab
#166d87  rgb(22, 109, 135)  hsl(194, 72%, 31%)  Teal Blue