Medium grey Color — HEX, RGB, HSL & CMYK Codes

#7d7f7c
Format Value
HEX #7d7f7c
RGB rgb(125, 127, 124)
HSL hsl(100, 1.2%, 49.2%)
CMYK cmyk(1.6%, 0%, 2.4%, 50.2%)
HSV hsv(100, 2.4%, 49.8%)

medium grey color harmonies

Tints & shades of medium grey

Tints (lighter)

#898b88 #959694 #a0a2a0 #acaeac #b8b9b8 #c4c5c3 #d0d0cf #dcdcdb #e7e8e7 #f3f3f3

Shades (darker)

#727371 #666865 #5b5c5a #50514f #444544 #393a38 #2d2e2d #222322 #171717 #0b0c0b

Contrast & accessibility

The quick brown fox

On white · 4.04:1 · AA Large

The quick brown fox

On black · 5.2:1 · AA

Recommended text color: #000000

Use medium grey in code

CSS color: #7d7f7c;
SCSS $color: #7d7f7c;
Tailwind bg-[#7d7f7c]
Swift UIColor(red: 0.490, green: 0.498, blue: 0.486, alpha: 1)
Android Color.parseColor("#7d7f7c")
Flutter Color(0xFF7D7F7C)

Colors similar to medium grey

Browse all Gray & neutral colors →

What is the HEX code for medium grey?

The CSS color medium grey in HEX format is #7d7f7c. Use this value directly in CSS, SVG, and most design tools.

How do I use medium grey in CSS?

To apply medium grey in CSS:

  • Text color: color: #7d7f7c;
  • Background: background-color: #7d7f7c;
  • Border: border-color: #7d7f7c;

What are all the color format values for medium grey?

FormatValue
HEX#7d7f7c
RGBrgb(125, 127, 124)
HSLhsl(100, 1.2%, 49.2%)
CMYKcmyk(1.6%, 0%, 2.4%, 50.2%)

How do I convert medium grey to HEX?

Select medium grey from the color name list in our color converter. The HEX value — #7d7f7c — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does medium grey belong to?

medium grey belongs to the neutral (gray) color family. It is a medium, muted color with HSL values: hue 100°, saturation 1.2%, lightness 49.2%.

How do I create lighter and darker shades of medium grey?

Lighter variant (lightness 64.2%): #a3a5a3. Darker variant (lightness 34.2%): #575856. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.