#7E8088#7E8088

#7E8088 is a mid, near-neutral grey. Relative luminance 0.217; OKLCH L 60.1% C 0.012 H 274.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7E8088
RGBrgb(126, 128, 136)
HSLhsl(228, 4%, 51%)
HSVhsv(228, 7%, 53%)
CMYKcmyk(7.4%, 5.9%, 0%, 46.7%)
CIE-LABlab(53.66, 0.91, -4.58)
CIE-LCHlch(53.66, 4.66, 281.23°)
OKLaboklab(60.08% 0.001 -0.0122)
OKLCHoklch(60.08% 0.012 274.8)
XYZxyz(20.7664, 21.6514, 26.3729)
Luminance0.2165 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8088 #88867E
analogous
#7E8588 #7E8088 #817E88
triadic
#7E8088 #887E80 #80887E
tetradic
#7E8088 #887E85 #88867E #7E8881
square
#7E8088 #887E85 #88867E #7E8881
split-complementary
#7E8088 #88817E #85887E
monochromatic
#434449 #606268 #7E8088 #9E9FA5 #BEBFC3

Accessibility & contrast

On white

3.94
#7E8088 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#7E8088 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8088
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8088#FFFFFF#000000##000000
##7E80881.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8188
Deuteranopia (green-blind)
#7D8088
Tritanopia (blue-blind)
#7C8182
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e8088;
/* rgb */ color: rgb(126, 128, 136);
/* oklch */ color: oklch(60.1% 0.012 274.8);
Tailwind
colors: {
  custom: {
    50: '#a3a4aa',
    500: '#7e8088',
    950: '#000000',
  },
}
SCSS
$custom: #7e8088;
$custom-light: #a3a4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8088",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 136
  },
  "hsl": {
    "h": 228,
    "s": 4.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60079,
    "c": 0.01229,
    "h": 274.8
  },
  "luminance": 0.21652
}

Semantic roles & 50–950 ramp

primary
#7E8088
secondary
#B3B2AF
accent
#A37BAD
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F0F10
muted
#7F7F7F

Preview Lab

Preview with #7E8088

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

Preview Lab → · Contrast checker → · Palette generator →

#7E8088 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva