#AFAAB2#AFAAB2

#AFAAB2 is a light, near-neutral grey. Relative luminance 0.411; OKLCH L 74.5% C 0.013 H 313.2°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#AFAAB2
RGBrgb(175, 170, 178)
HSLhsl(278, 5%, 68%)
HSVhsv(278, 4%, 70%)
CMYKcmyk(1.7%, 4.5%, 0%, 30.2%)
CIE-LABlab(70.23, 3.29, -3.47)
CIE-LCHlch(70.23, 4.78, 313.49°)
OKLaboklab(74.46% 0.0086 -0.0092)
OKLCHoklch(74.46% 0.013 313.2)
XYZxyz(40.0885, 41.0779, 47.9277)
Luminance0.4108 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAB2 #ADB2AA
analogous
#ABAAB2 #AFAAB2 #B2AAB1
triadic
#AFAAB2 #B2AFAA #AAB2AF
tetradic
#AFAAB2 #B2ABAA #ADB2AA #AAB1B2
square
#AFAAB2 #B2ABAA #ADB2AA #AAB1B2
split-complementary
#AFAAB2 #B1B2AA #AAB2AB
monochromatic
#726B76 #918A95 #AFAAB2 #CDCACF #EBEAEC

Accessibility & contrast

On white

2.28
#AFAAB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#AFAAB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAB2
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAB2#FFFFFF#000000##000000
##AFAAB21.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9ABB2
Deuteranopia (green-blind)
#AAACB2
Tritanopia (blue-blind)
#AFABAD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afaab2;
/* rgb */ color: rgb(175, 170, 178);
/* oklch */ color: oklch(74.5% 0.013 313.2);
Tailwind
colors: {
  custom: {
    50: '#c6c3c9',
    500: '#afaab2',
    950: '#000000',
  },
}
SCSS
$custom: #afaab2;
$custom-light: #c6c3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#afaab2",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 178
  },
  "hsl": {
    "h": 277.5,
    "s": 4.938,
    "l": 68.235
  },
  "oklch": {
    "l": 0.74459,
    "c": 0.01261,
    "h": 313.2
  },
  "luminance": 0.41078
}

Semantic roles & 50–950 ramp

primary
#AFAAB2
secondary
#DCDDDB
accent
#8F576C
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFAAB2

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

Preview Lab → · Contrast checker → · Palette generator →

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