#757271#757271

#757271 is a mid, near-neutral grey. Relative luminance 0.170; OKLCH L 55.4% C 0.004 H 39.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#757271
RGBrgb(117, 114, 113)
HSLhsl(15, 2%, 45%)
HSVhsv(15, 3%, 46%)
CMYKcmyk(0%, 2.6%, 3.4%, 54.1%)
CIE-LABlab(48.27, 0.95, 0.96)
CIE-LCHlch(48.27, 1.35, 45.29°)
OKLaboklab(55.44% 0.0031 0.0026)
OKLCHoklch(55.44% 0.004 39.5)
XYZxyz(16.3336, 17.0089, 18.0421)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757271 #717475
analogous
#757172 #757271 #757471
triadic
#757271 #717572 #727175
tetradic
#757271 #727571 #717475 #747175
square
#757271 #727571 #717475 #747175
split-complementary
#757271 #717574 #717275
monochromatic
#373535 #565453 #757271 #949190 #B2B0AF

Accessibility & contrast

On white

4.77
#757271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#757271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757271
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757271#FFFFFF#000000##FFFFFF
##7572711.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737271
Deuteranopia (green-blind)
#737371
Tritanopia (blue-blind)
#767272
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #757271;
/* rgb */ color: rgb(117, 114, 113);
/* oklch */ color: oklch(55.4% 0.004 39.5);
Tailwind
colors: {
  custom: {
    50: '#9c9a99',
    500: '#757271',
    950: '#000000',
  },
}
SCSS
$custom: #757271;
$custom-light: #9c9a99;
$custom-dark: #000000;
JSON
{
  "hex": "#757271",
  "rgb": {
    "r": 117,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 15,
    "s": 1.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55443,
    "c": 0.00403,
    "h": 39.5
  },
  "luminance": 0.17009
}

Semantic roles & 50–950 ramp

primary
#757271
secondary
#A0A1A2
accent
#9FAB7D
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #757271

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

Preview Lab → · Contrast checker → · Palette generator →

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