HexeesDigital color, made useful.

Color reference#666666Medium dark grey — Ant grey 6

Color reference

Medium dark grey — Ant grey 6

RGB
rgb(102 102 102)
HSL
hsl(0 0% 40%)
HWB
hwb(0 40% 60%)
Color family
Neutral
Recommended foreground
#FFFFFF

Calculated profile

What the numbers say

At 0° hue, Medium dark grey — Ant grey 6 is a near-neutral, mid-lightness, achromatic sRGB color. Its relative luminance is 13.29%. For text on this background, #FFFFFF produces the stronger contrast at 5.74:1.

HSL lightness
40%
HSL saturation
0%
Relative luminance
13.29%
Hue group
achromatic

02

Copy-ready color formats

Equivalent sRGB notations calculated from the same six-digit HEX value.

03

Text contrast against this color

Ratios use WCAG relative luminance. Passing a ratio does not by itself certify an interface.

White text5.74:1

Aa

AA normal text
Pass
AA large text
Pass
AAA normal text
Fail
AAA large text
Pass
Black text3.66:1

Aa

AA normal text
Fail
AA large text
Pass
AAA normal text
Fail
AAA large text
Fail

04

Calculated tints and shades

Tints mix the color with white; shades mix it with black in sRGB.

Tints

Shades

05

Hue-wheel relationships

These colors keep the original HSL saturation and lightness while rotating hue. They are mathematical starting points, not automatic design recommendations.

06

Opacity variants

Eight-digit HEX and modern rgb() alpha syntax for the same opacity.

20%
40%
60%
80%

07

CSS starter

A small custom-property block using the calculated foreground with the stronger black-or-white contrast.

--color-ant-grey-6: #666666;
--color-ant-grey-6-rgb: 102 102 102;
--color-ant-grey-6-hsl: 0 0% 40%;
color: #FFFFFF;
background-color: var(--color-ant-grey-6);

Community review

Suggest a correction

Correction for Medium dark grey — Ant grey 6#666666

Found an inaccurate name, explanation, source, or accessibility detail? Send a concise correction for editorial review.

20–2,000 characters. Plain text only.

Your email is stored only with this proposal so an editor can clarify the correction. It is never shown publicly.

08 / Verification

Where the values come from

The color name and HEX value are checked against the cited standard. RGB, HSL, HWB, luminance, and contrast are then calculated from that HEX value using published formulas.

Source for the name and HEX
@ant-design/colors preset palettes
License
MIT License
Version
@ant-design/colors 8.0.1