#BAB2B8#BAB2B8

#BAB2B8 is a light, near-neutral grey. Relative luminance 0.457; OKLCH L 77.2% C 0.012 H 334.1°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#BAB2B8
RGBrgb(186, 178, 184)
HSLhsl(315, 5%, 71%)
HSVhsv(315, 4%, 73%)
CMYKcmyk(0%, 4.3%, 1.1%, 27.1%)
CIE-LABlab(73.38, 3.93, -2.04)
CIE-LCHlch(73.38, 4.43, 332.61°)
OKLaboklab(77.2% 0.0111 -0.0054)
OKLCHoklch(77.2% 0.012 334.1)
XYZxyz(44.8205, 45.7408, 51.8058)
Luminance0.4574 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB2B8 #B2BAB4
analogous
#B8B2BA #BAB2B8 #BAB2B4
triadic
#BAB2B8 #B8BAB2 #B2B8BA
tetradic
#BAB2B8 #BAB8B2 #B2BAB4 #B2B4BA
square
#BAB2B8 #BAB8B2 #B2BAB4 #B2B4BA
split-complementary
#BAB2B8 #B4BAB2 #B2BAB8
monochromatic
#7F727C #9D929A #BAB2B8 #D7D2D6 #F1EFF0

Accessibility & contrast

On white

2.07
#BAB2B8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#BAB2B8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB2B8
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB2B8#FFFFFF#000000##000000
##BAB2B81.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2B4B8
Deuteranopia (green-blind)
#B4B5B8
Tritanopia (blue-blind)
#BBB2B4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bab2b8;
/* rgb */ color: rgb(186, 178, 184);
/* oklch */ color: oklch(77.2% 0.012 334.1);
Tailwind
colors: {
  custom: {
    50: '#cec9cd',
    500: '#bab2b8',
    950: '#000000',
  },
}
SCSS
$custom: #bab2b8;
$custom-light: #cec9cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bab2b8",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 184
  },
  "hsl": {
    "h": 315,
    "s": 5.479,
    "l": 71.373
  },
  "oklch": {
    "l": 0.77197,
    "c": 0.01229,
    "h": 334.1
  },
  "luminance": 0.45741
}

Semantic roles & 50–950 ramp

primary
#BAB2B8
secondary
#E3E5E3
accent
#8F6456
background
#FCFCFC
surface
#F9F8F9
border
#D2D1D2
text
#131313
muted
#828282

Preview Lab

Preview with #BAB2B8

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

Preview Lab → · Contrast checker → · Palette generator →

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