#808271#808271

#808271 is a mid, muted grey. Relative luminance 0.217; OKLCH L 60.0% C 0.025 H 112.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#808271
RGBrgb(128, 130, 113)
HSLhsl(67, 7%, 48%)
HSVhsv(67, 13%, 51%)
CMYKcmyk(1.5%, 0%, 13.1%, 49%)
CIE-LABlab(53.76, -3.95, 8.96)
CIE-LCHlch(53.76, 9.79, 113.81°)
OKLaboklab(59.99% -0.0097 0.0232)
OKLCHoklch(59.99% 0.025 112.6)
XYZxyz(19.8650, 21.7468, 18.7706)
Luminance0.2175 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808271 #737182
analogous
#827B71 #808271 #778271
triadic
#808271 #718082 #827180
tetradic
#808271 #71827B #737182 #827177
square
#808271 #71827B #737182 #827177
split-complementary
#808271 #717782 #7B7182
monochromatic
#404138 #606155 #808271 #9E9F91 #BBBCB2

Accessibility & contrast

On white

3.93
#808271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#808271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808271
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808271#FFFFFF#000000##000000
##8082711.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#858070
Deuteranopia (green-blind)
#858172
Tritanopia (blue-blind)
#82807D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #808271;
/* rgb */ color: rgb(128, 130, 113);
/* oklch */ color: oklch(60.0% 0.025 112.6);
Tailwind
colors: {
  custom: {
    50: '#a5a699',
    500: '#808271',
    950: '#000000',
  },
}
SCSS
$custom: #808271;
$custom-light: #a5a699;
$custom-dark: #000000;
JSON
{
  "hex": "#808271",
  "rgb": {
    "r": 128,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 67.059,
    "s": 6.996,
    "l": 47.647
  },
  "oklch": {
    "l": 0.59993,
    "c": 0.02515,
    "h": 112.6
  },
  "luminance": 0.21747
}

Semantic roles & 50–950 ramp

primary
#808271
secondary
#A4A3AC
accent
#78B07E
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#0F0F0E
muted
#7F7F7E

Preview Lab

Preview with #808271

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

Preview Lab → · Contrast checker → · Palette generator →

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