#7E7082#7E7082

#7E7082 is a mid, muted grey. Relative luminance 0.176; OKLCH L 56.4% C 0.032 H 318.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7E7082
RGBrgb(126, 112, 130)
HSLhsl(287, 7%, 47%)
HSVhsv(287, 14%, 51%)
CMYKcmyk(3.1%, 13.8%, 0%, 49%)
CIE-LABlab(49.05, 8.99, -7.89)
CIE-LCHlch(49.05, 11.96, 318.72°)
OKLaboklab(56.42% 0.024 -0.0211)
OKLCHoklch(56.42% 0.032 318.7)
XYZxyz(18.4270, 17.6359, 23.5481)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7082 #748270
analogous
#757082 #7E7082 #82707D
triadic
#7E7082 #827E70 #70827E
tetradic
#7E7082 #827570 #748270 #707D82
square
#7E7082 #827570 #748270 #707D82
split-complementary
#7E7082 #7D8270 #708275
monochromatic
#3E3740 #5E5461 #7E7082 #9C909F #B9B1BC

Accessibility & contrast

On white

4.64
#7E7082 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7E7082 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7082
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7082#FFFFFF#000000##FFFFFF
##7E70821.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7483
Deuteranopia (green-blind)
#717581
Tritanopia (blue-blind)
#7E7276
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e7082;
/* rgb */ color: rgb(126, 112, 130);
/* oklch */ color: oklch(56.4% 0.032 318.7);
Tailwind
colors: {
  custom: {
    50: '#a399a6',
    500: '#7e7082',
    950: '#000000',
  },
}
SCSS
$custom: #7e7082;
$custom-light: #a399a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7082",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 130
  },
  "hsl": {
    "h": 286.667,
    "s": 7.438,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56421,
    "c": 0.03199,
    "h": 318.7
  },
  "luminance": 0.17636
}

Semantic roles & 50–950 ramp

primary
#7E7082
secondary
#A4ABA2
accent
#B07784
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0D0F
muted
#7F7E7F

Preview Lab

Preview with #7E7082

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

Preview Lab → · Contrast checker → · Palette generator →

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