Coloried

Medium Gray

Medium gray color is a dark shade of gray. Its hex code is #7D7F7C and rgb code is rgb(125, 127, 124), its cmyk value is cmyk(2%, 0%, 2%, 50%), and its hsl value is hsl(100, 1%, 49%). Against white, its contrast ratio of 4.04:1, while against black, the contrast ratio is 5.20:1. Its complementary color is #7D7C7E and closest tailwind color is neutral-500. This color goes well with #C9CAC9, #CACAC9, #F0F0F0, #AFAFB1, and #B1AFB0. To recreate the medium gray color, you can mix #000000 and #FAFEF8.

HEX#7D7F7CRGBrgb(125, 127, 124)CMYKcmyk(2%, 0%, 2%, 50%)
Medium Gray color code
|

1. Color Conversions

HEX#7D7F7C
RGB125, 127, 124
HSL100°, 1%, 49%
HSV100°, 1%, 50%
CMYK2%, 0%, 2%, 50%
Web Safe#666666

2. Contrast Ratio

Text on #FFFFFF4.04:1
AAA LargeFail Normal
Text on #0000005.20:1
AAA LargeAAA Normal

3. Medium Gray in CSS

HEX
#7D7F7C
RGB
rgb(125, 127, 124)
HSL
hsl(100, 1%, 49%)
Text Color
color: #7D7F7C;
Background
background-color: #7D7F7C;
Border Color
border-color: #7D7F7C;
Box Shadow
box-shadow: 0 4px 14px 0 #7D7F7C80;
SCSS
$color-medium-gray: #7D7F7C;

4. Color Palettes

Analogous
Complementary
Triadic
Split Complementary
Tetradic
Monochromatic

5. Shades, Tints & Hues

Shades
Tints
Hues

6. Color Blindness Simulator

Protanopia#7E7E7D
Deuteranopia#7E7E7D
Tritanopia#7D7D7D
Achromatopsia#7E7E7E

7. UI Components Preview

Buttons
Badges
DefaultOutlineSoft
Interactive