#ABABA2#ABABA2

#ABABA2 is a light, near-neutral grey. Relative luminance 0.404; OKLCH L 73.9% C 0.013 H 106.7°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#ABABA2
RGBrgb(171, 171, 162)
HSLhsl(60, 5%, 65%)
HSVhsv(60, 5%, 67%)
CMYKcmyk(0%, 0%, 5.3%, 32.9%)
CIE-LABlab(69.75, -1.66, 4.63)
CIE-LCHlch(69.75, 4.92, 109.68°)
OKLaboklab(73.86% -0.0036 0.0122)
OKLCHoklch(73.86% 0.013 106.7)
XYZxyz(37.8781, 40.3925, 39.9765)
Luminance0.4039 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABABA2 #A2A2AB
analogous
#ABA6A2 #ABABA2 #A6ABA2
triadic
#ABABA2 #A2ABAB #ABA2AB
tetradic
#ABABA2 #A2ABA6 #A2A2AB #ABA2A6
square
#ABABA2 #A2ABA6 #A2A2AB #ABA2A6
split-complementary
#ABABA2 #A2A6AB #A6A2AB
monochromatic
#6F6F64 #8E8E82 #ABABA2 #C8C8C2 #E5E5E2

Accessibility & contrast

On white

2.31
#ABABA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#ABABA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABABA2
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABABA2#FFFFFF#000000##000000
##ABABA21.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADAAA2
Deuteranopia (green-blind)
#ADABA2
Tritanopia (blue-blind)
#ADAAA8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ababa2;
/* rgb */ color: rgb(171, 171, 162);
/* oklch */ color: oklch(73.9% 0.013 106.7);
Tailwind
colors: {
  custom: {
    50: '#c4c4bd',
    500: '#ababa2',
    950: '#000000',
  },
}
SCSS
$custom: #ababa2;
$custom-light: #c4c4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ababa2",
  "rgb": {
    "r": 171,
    "g": 171,
    "b": 162
  },
  "hsl": {
    "h": 60,
    "s": 5.085,
    "l": 65.294
  },
  "oklch": {
    "l": 0.73861,
    "c": 0.0127,
    "h": 106.7
  },
  "luminance": 0.40392
}

Semantic roles & 50–950 ramp

primary
#ABABA2
secondary
#D3D3D6
accent
#578F57
background
#FCFCFB
surface
#F8F8F6
border
#D1D1D0
text
#121212
muted
#818181

Preview Lab

Preview with #ABABA2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#ABABA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva