HSL(342, 7%, 84%)

Grayish White — White color

Adjust Color

Color Information

Color Name

Grayish White

Color Family

White

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(342,7%,84%)]

Color Conversions

Format Value CSS Usage
HSL hsl(342, 7%, 84%) color: hsl(342, 7%, 84%)
HEX #D9D3D5 color: #D9D3D5
RGB rgb(217, 211, 213) color: rgb(217, 211, 213)
CMYK cmyk(0%, 3%, 2%, 15%)
HSV hsv(340, 3%, 85%)
HWB hwb(340 82% 15%) color: hwb(340 82% 15%)
OKLCH oklch(0.8722 0.0071 354.82) color: oklch(0.8722 0.0071 354.82)
Lab lab(85.07 2.41 -0.26) color: lab(85.07 2.41 -0.26)
LCH lch(85.07 2.42 353.84) color: lch(85.07 2.42 353.84)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 1.48:1
vs Black 14.23:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#D6D6D5 — rgb(214, 214, 213)

Deuteranopia (Green-blind)

#D7D7D4 — rgb(215, 215, 212)

Tritanopia (Blue-blind)

#D9D4D4 — rgb(217, 212, 212)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(342, 7%, 84%);

text

color: hsl(342, 7%, 84%);

border

border: 2px solid hsl(342, 7%, 84%);

gradient light

background: linear-gradient(to right, hsl(342, 7%, 100%), hsl(342, 7%, 84%));

gradient dark

background: linear-gradient(to right, hsl(342, 7%, 84%), hsl(342, 7%, 64%))

hex

background-color: #D9D3D5;

tailwind

bg-[hsl(342,7%,84%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(342, 7%, 84%, 0.4);

css variable

--color-primary: hsl(342, 7%, 84%);

Related Colors

Use Cases for Grayish White

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(342, 7%, 84%)?

HEX: #D9D3D5 | RGB: rgb(217, 211, 213) | CMYK: 0%, 3%, 2%, 15% | HSV: 340°, 3%, 85%. Copy any format from the conversion table above.

What colors go well with #D9D3D5?

The complementary color is HSL(162, 7%, 84%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(342, 7%, 84%) in CSS?

As HSL: color: hsl(342, 7%, 84%); — As HEX: color: #D9D3D5; — As RGB: color: rgb(217, 211, 213); — Tailwind CSS: bg-[hsl(342,7%,84%)] — CSS variable: --color-primary: hsl(342, 7%, 84%);