Skip to content
Vectorlight.net

#d4d4d8

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#d4d4d8
RGB
212, 212, 216
HSL
240°, 4.88%, 83.92%
OKLCH
0.87 0.01 286.29
Names
—
Lists

Codes

FormatValue
HEX#d4d4d8
RGBrgb(212 212 216)
HSLhsl(240 4.88% 83.92%)
OKLCHoklch(0.87 0.01 286.29)
CMYKcmyk(1.85% 1.85% 0% 15.29%)
Android#ffd4d4d8

Names & lists

Web-safe: No

Tailwind: zinc-300

Contrast

Aa
1.47:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.20:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#d4d4d8"
Gradient stop
<stop stop-color="#d4d4d8"/>
CSS variable + fill
:root { --c: #d4d4d8; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #d4d4d8;
background-color: #d4d4d8;
bg-[#d4d4d8]