#A5AFA2#A5AFA2

#A5AFA2 is a light, muted grey. Relative luminance 0.413; OKLCH L 74.2% C 0.021 H 138.5°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#A5AFA2
RGBrgb(165, 175, 162)
HSLhsl(106, 8%, 66%)
HSVhsv(106, 7%, 69%)
CMYKcmyk(5.7%, 0%, 7.4%, 31.4%)
CIE-LABlab(70.36, -5.97, 5.46)
CIE-LCHlch(70.36, 8.09, 137.56°)
OKLaboklab(74.23% -0.0161 0.0143)
OKLCHoklch(74.23% 0.022 138.5)
XYZxyz(37.3674, 41.2677, 40.1722)
Luminance0.4127 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AFA2 #ACA2AF
analogous
#ABAFA2 #A5AFA2 #A2AFA5
triadic
#A5AFA2 #A2A5AF #AFA2A5
tetradic
#A5AFA2 #A2ABAF #ACA2AF #AFA5A2
square
#A5AFA2 #A2ABAF #ACA2AF #AFA5A2
split-complementary
#A5AFA2 #A5A2AF #AFA2AB
monochromatic
#677363 #859381 #A5AFA2 #C5CBC3 #E5E8E4

Accessibility & contrast

On white

2.27
#A5AFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#A5AFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AFA2
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AFA2#FFFFFF#000000##000000
##A5AFA21.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0ADA1
Deuteranopia (green-blind)
#AEACA3
Tritanopia (blue-blind)
#A5AEAB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5afa2;
/* rgb */ color: rgb(165, 175, 162);
/* oklch */ color: oklch(74.2% 0.021 138.5);
Tailwind
colors: {
  custom: {
    50: '#bfc6bd',
    500: '#a5afa2',
    950: '#000000',
  },
}
SCSS
$custom: #a5afa2;
$custom-light: #bfc6bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a5afa2",
  "rgb": {
    "r": 165,
    "g": 175,
    "b": 162
  },
  "hsl": {
    "h": 106.154,
    "s": 7.514,
    "l": 66.078
  },
  "oklch": {
    "l": 0.74232,
    "c": 0.0215,
    "h": 138.5
  },
  "luminance": 0.41268
}

Semantic roles & 50–950 ramp

primary
#A5AFA2
secondary
#D8D4D9
accent
#549183
background
#FBFCFB
surface
#F7F8F6
border
#D0D1D0
text
#121312
muted
#818281

Preview Lab

Preview with #A5AFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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