#AFAFBA#AFAFBA

#AFAFBA is a light, near-neutral grey. Relative luminance 0.433; OKLCH L 75.7% C 0.016 H 286.0°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#AFAFBA
RGBrgb(175, 175, 186)
HSLhsl(240, 7%, 71%)
HSVhsv(240, 6%, 73%)
CMYKcmyk(5.9%, 5.9%, 0%, 27.1%)
CIE-LABlab(71.77, 2.12, -5.60)
CIE-LCHlch(71.77, 5.99, 290.76°)
OKLaboklab(75.74% 0.0043 -0.015)
OKLCHoklch(75.74% 0.016 286)
XYZxyz(41.8704, 43.3189, 52.6004)
Luminance0.4332 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFBA #BABAAF
analogous
#AFB4BA #AFAFBA #B4AFBA
triadic
#AFAFBA #BAAFAF #AFBAAF
tetradic
#AFAFBA #BAAFB4 #BABAAF #AFBAB4
square
#AFAFBA #BAAFB4 #BABAAF #AFBAB4
split-complementary
#AFAFBA #BAB4AF #B4BAAF
monochromatic
#6E6E80 #8E8E9E #AFAFBA #D0D0D6 #EFEFF1

Accessibility & contrast

On white

2.17
#AFAFBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#AFAFBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFBA
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFBA#FFFFFF#000000##000000
##AFAFBA1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADB0BB
Deuteranopia (green-blind)
#ACB0BA
Tritanopia (blue-blind)
#ADB1B2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afafba;
/* rgb */ color: rgb(175, 175, 186);
/* oklch */ color: oklch(75.7% 0.016 286.0);
Tailwind
colors: {
  custom: {
    50: '#c6c6ce',
    500: '#afafba',
    950: '#000000',
  },
}
SCSS
$custom: #afafba;
$custom-light: #c6c6ce;
$custom-dark: #000000;
JSON
{
  "hex": "#afafba",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 186
  },
  "hsl": {
    "h": 240,
    "s": 7.383,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75742,
    "c": 0.01558,
    "h": 286
  },
  "luminance": 0.43319
}

Semantic roles & 50–950 ramp

primary
#AFAFBA
secondary
#E4E4E1
accent
#915491
background
#FCFCFC
surface
#F8F8F9
border
#D1D1D2
text
#131313
muted
#828282

Preview Lab

Preview with #AFAFBA

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

Preview Lab → · Contrast checker → · Palette generator →

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