#A0187F

#a0187f ≈ Mardi Gras

  • magenta
  • Lightness: low
  • Saturation: strong
  • Balanced

#a0187f is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 62.75% red, 9.41% green and 49.8% blue; printed in CMYK it uses 0% cyan, 85% magenta, 20.63% yellow and 37.25% black. Its hue angle is 314.56°, with 73.91% saturation and 36.08% 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. White text on this color reaches a contrast ratio of 7.16:1 (WCAG AAA). The closest named color is Mardi Gras (#880085), ΔE 6.81.

Description generated from the measured properties of this color.

Conversions of #a0187f 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.0966

Readable text 7.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.93:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #7b466a ≈ 0.001% of males
Protanopia #264a82 ≈ 1.01% of males
Deuteranopia #545f7c ≈ 1.27% of males
Tritanopia #aa1d4c ≈ 0.0001% of males
Protanomaly #6d3c81 ≈ 1.08% of males
Deuteranomaly #7a4c7d ≈ 4.63% of males
Tritanomaly #a61b64 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a0187f {
  color: #a0187f;
}
Background
.bg-a0187f {
  background-color: #a0187f;
  color: #ffffff;
}
Border
.border-a0187f {
  border: 2px solid #a0187f;
}
CSS variables
:root {
  --color-primary: #a0187f;
  --color-primary-rgb: 160 24 127;
  --color-primary-hsl: 315 74% 36%;
}
Gradient
.gradient-a0187f {
  background: linear-gradient(135deg, #a0187f, #a0183b);
}
Colored shadow
.shadow-a0187f {
  box-shadow: 0 8px 24px rgb(160 24 127 / 0.35);
}

Mardi Gras
#a0187f  rgb(160, 24, 127)  hsl(315, 74%, 36%)  Mardi Gras
#18a039  rgb(24, 160, 57)  hsl(135, 74%, 36%)  Islamic Green
#7fa018  rgb(127, 160, 24)  hsl(75, 74%, 36%)  Apple Green
#187fa0  rgb(24, 127, 160)  hsl(195, 74%, 36%)  Cerulean