HSL(51, 2%, 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(51,2%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 2%, 84%) | color: hsl(51, 2%, 84%) | |
| HEX | #D7D7D5 | color: #D7D7D5 | |
| RGB | rgb(215, 215, 213) | color: rgb(215, 215, 213) | |
| CMYK | cmyk(0%, 0%, 1%, 16%) | — | |
| HSV | hsv(60, 1%, 84%) | — | |
| HWB | hwb(60 83% 16%) | color: hwb(60 83% 16%) | |
| OKLCH | oklch(0.8786 0.0027 106.46) | color: oklch(0.8786 0.0027 106.46) | |
| Lab | lab(85.93 -0.36 0.98) | color: lab(85.93 -0.36 0.98) | |
| LCH | lch(85.93 1.04 110.17) | color: lch(85.93 1.04 110.17) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#D7D7D5 — rgb(215, 215, 213)
Deuteranopia (Green-blind)
#D7D7D6 — rgb(215, 215, 214)
Tritanopia (Blue-blind)
#D7D6D6 — rgb(215, 214, 214)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 2%, 84%);
text
color: hsl(51, 2%, 84%);
border
border: 2px solid hsl(51, 2%, 84%);
gradient light
background: linear-gradient(to right, hsl(51, 2%, 100%), hsl(51, 2%, 84%));
gradient dark
background: linear-gradient(to right, hsl(51, 2%, 84%), hsl(51, 2%, 64%))
hex
background-color: #D7D7D5;
tailwind
bg-[hsl(51,2%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 2%, 84%, 0.4);
css variable
--color-primary: hsl(51, 2%, 84%);
Related Colors
Use Cases for Grayish White
Frequently Asked Questions
What are all the color codes for HSL(51, 2%, 84%)?
HEX: #D7D7D5 | RGB: rgb(215, 215, 213) | CMYK: 0%, 0%, 1%, 16% | HSV: 60°, 1%, 84%. Copy any format from the conversion table above.
What colors go well with #D7D7D5?
The complementary color is HSL(231, 2%, 84%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 2%, 84%) in CSS?
As HSL: color: hsl(51, 2%, 84%); — As HEX: color: #D7D7D5; — As RGB: color: rgb(215, 215, 213); — Tailwind CSS: bg-[hsl(51,2%,84%)] — CSS variable: --color-primary: hsl(51, 2%, 84%);