#ABABAB

#ababab ≈ Dark Gray

  • gray
  • Lightness: high
  • Saturation: almost no
  • Neutral

#ababab is a color from the gray family, with high lightness and almost no saturation. In the RGB model it is made of 67.06% red, 67.06% green and 67.06% blue; printed in CMYK it uses 0% cyan, 0% magenta, 0% yellow and 32.94% black. Its hue angle is 0°, with 0% saturation and 67.06% lightness in HSL. It is a neutral color, often associated with neutrality, balance and professionalism. Designers typically use it for body text and typography, corporate identities and brand accents. Black text on this color reaches a contrast ratio of 9.14:1 (WCAG AAA). The closest named color is Dark Gray (#a9a9a9), ΔE 0.58.

Description generated from the measured properties of this color.

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

Readable text 2.3:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #ababab ≈ 0.003% of males
Achromatomaly #ababab ≈ 0.001% of males
Protanopia #ababab ≈ 1.01% of males
Deuteranopia #ababab ≈ 1.27% of males
Tritanopia #ababab ≈ 0.0001% of males
Protanomaly #ababab ≈ 1.08% of males
Deuteranomaly #ababab ≈ 4.63% of males
Tritanomaly #ababab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ababab {
  color: #ababab;
}
Background
.bg-ababab {
  background-color: #ababab;
  color: #000000;
}
Border
.border-ababab {
  border: 2px solid #ababab;
}
CSS variables
:root {
  --color-primary: #ababab;
  --color-primary-rgb: 171 171 171;
  --color-primary-hsl: 0 0% 67%;
}
Gradient
.gradient-ababab {
  background: linear-gradient(135deg, #ababab, #ababab);
}
Colored shadow
.shadow-ababab {
  box-shadow: 0 8px 24px rgb(171 171 171 / 0.35);
}

Dark Gray
#ababab  rgb(171, 171, 171)  hsl(0, 0%, 67%)  Dark Gray
#ababab  rgb(171, 171, 171)  hsl(0, 0%, 67%)  Dark Gray
#ababab  rgb(171, 171, 171)  hsl(0, 0%, 67%)  Dark Gray
#ababab  rgb(171, 171, 171)  hsl(0, 0%, 67%)  Dark Gray