What is hex #D7DFD7 color?

 
The hex code #D7DFD7 is closest to the named color Gainsboro (#DCDCDC).
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.

From a technical standpoint, this color is composed of 84% red, 87% green and 84% blue, resulting in rgb(215, 223, 215) and hsl(120, 11%, 86%).
For print media and manufacturing layout, the CMYK equivalent is (4%, 0%, 4%, 13%).
In the HSV/HSB scale, #D7DFD7 features a hue of 120°, 4% saturation, and 87% brightness.

Hex #D7DFD7 Color Codes & Conversions

Closest Named Color
Gainsboro (#DCDCDC)
Hex Code #D7DFD7
Hex8 (RGBA Hex) #D7DFD7FF
RGB (CSS) rgb(215, 223, 215)
RGBA (CSS) rgba(215, 223, 215, 1)
HSL (CSS) hsl(120, 11%, 86%)
HSLA (CSS) hsla(120, 11%, 86%, 1)
HSV / HSB (120°, 4%, 87%)
CMYK Values (4%, 0%, 4%, 13%)
OKLCH (Modern CSS) oklch(89.5% 0.014 145.5)
CIE-LAB (D65) 88.03, -4.14, 2.98
CIE XYZ 66.68, 72.13, 74.69
Decimal / Binary 14147543
11010111 11011111 11010111

Closest Standards & Equivalents

Closest Web Safe
#CCCCCC
Inverse Color
#282028
Complementary Color
#DFD7DF
Closest Pantone®
Pantone 621 C
Closest RAL
RAL 9001 [Cream]

#D7DFD7 Grayscale Equivalents

Average
#DADADA
Lightness (Desaturation)
#DBDBDB
Weighted (BT601)
#DCDCDC [Gainsboro]
Luma (BT709)
#DDDDDD

WCAG 2.1 Color Contrast & Accessibility

Check how #D7DFD7 complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #D7DFD7

Sample preview of readable typography on top of #D7DFD7.

Contrast Ratio: 1.36:1
AA Fail AAA Fail

Black Text on #D7DFD7

Sample preview of readable typography on top of #D7DFD7.

Contrast Ratio: 15.43:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #D7DFD7

Preview #D7DFD7 in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #D7DFD7;
Typography Color Preview
color: #D7DFD7;
Border & Shadow Preview
border: 2px solid #D7DFD7;
CSS Custom Properties & Gradient
:root {
  --color-primary: #D7DFD7;
  --color-primary-rgb: 215, 223, 215;
  --color-complementary: #DFD7DF;
}
.btn-accent {
  background-color: #D7DFD7;
  color: #000000;
}

Hex #D7DFD7 Color Palettes

Complementary Palette

The complementary color of #D7DFD7 is #DFD7DF. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #D7DFD7 pairs with #DBDFD7 and #D7DFDB, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #D7DFD7 pairs with #DFD7DB and #DBD7DF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #D7DFD7 uses #DFD7D7 and #D7D7DF, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #D7DFD7 combines #D7D7DF, #DFD7DF and #DFDFD7 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #D7DFD7 pairs with #D7DBDF, #DFD7DF and #DFDBD7 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #D7DFD7

Tints

Tints are created by mixing #D7DFD7 with white, producing lighter variations.

Tones

Tones are created by mixing #D7DFD7 with gray, softening saturation.

Shades

Shades result from mixing #D7DFD7 with black, creating deeper variations.

Hex #D7DFD7 in Programming & CSS Frameworks

Copy the exact syntax for #D7DFD7 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #D7DFD7
Tailwind CSS bg-[#D7DFD7] text-[#D7DFD7]
Java (AWT) new Color(215,223,215);
Python Color("#D7DFD7")
.NET (C#) Color.FromArgb(255, 215,223,215);
Swift / iOS UIColor(red: 0.84, green: 0.87, blue: 0.84, alpha: 1)
Kotlin / Android Color.rgb(215, 223, 215)