#9896A2#9896A2

#9896A2 is a light, near-neutral grey. Relative luminance 0.311; OKLCH L 67.9% C 0.018 H 293.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9896A2
RGBrgb(152, 150, 162)
HSLhsl(250, 6%, 61%)
HSVhsv(250, 7%, 64%)
CMYKcmyk(6.2%, 7.4%, 0%, 36.5%)
CIE-LABlab(62.59, 3.10, -6.02)
CIE-LCHlch(62.59, 6.77, 297.24°)
OKLaboklab(67.86% 0.007 -0.0161)
OKLCHoklch(67.86% 0.018 293.6)
XYZxyz(30.3756, 31.0967, 38.5774)
Luminance0.3110 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9896A2 #A0A296
analogous
#969AA2 #9896A2 #9E96A2
triadic
#9896A2 #A29896 #96A298
tetradic
#9896A2 #A2969A #A0A296 #96A29E
square
#9896A2 #A2969A #A0A296 #96A29E
split-complementary
#9896A2 #A29E96 #9AA296
monochromatic
#5B5965 #787685 #9896A2 #B8B6BF #D8D7DB

Accessibility & contrast

On white

2.91
#9896A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#9896A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9896A2
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9896A2#FFFFFF#000000##000000
##9896A21.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9497A3
Deuteranopia (green-blind)
#9497A2
Tritanopia (blue-blind)
#96989A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9896a2;
/* rgb */ color: rgb(152, 150, 162);
/* oklch */ color: oklch(67.9% 0.018 293.6);
Tailwind
colors: {
  custom: {
    50: '#b6b4bd',
    500: '#9896a2',
    950: '#000000',
  },
}
SCSS
$custom: #9896a2;
$custom-light: #b6b4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9896a2",
  "rgb": {
    "r": 152,
    "g": 150,
    "b": 162
  },
  "hsl": {
    "h": 250,
    "s": 6.061,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67864,
    "c": 0.01758,
    "h": 293.6
  },
  "luminance": 0.31097
}

Semantic roles & 50–950 ramp

primary
#9896A2
secondary
#CBCCC8
accent
#905686
background
#FBFBFB
surface
#F6F6F6
border
#D0D0D0
text
#111112
muted
#808081

Preview Lab

Preview with #9896A2

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

Preview Lab → · Contrast checker → · Palette generator →

#9896A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva