HSL(87, 3%, 40%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(87,3%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 3%, 40%) | color: hsl(87, 3%, 40%) | |
| HEX | #666963 | color: #666963 | |
| RGB | rgb(102, 105, 99) | color: rgb(102, 105, 99) | |
| CMYK | cmyk(3%, 0%, 6%, 59%) | — | |
| HSV | hsv(90, 6%, 41%) | — | |
| HWB | hwb(90 39% 59%) | color: hwb(90 39% 59%) | |
| OKLCH | oklch(0.5162 0.01 128.68) | color: oklch(0.5162 0.01 128.68) | |
| Lab | lab(43.99 -2.39 2.97) | color: lab(43.99 -2.39 2.97) | |
| LCH | lch(43.99 3.81 128.82) | color: lch(43.99 3.81 128.82) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#676764 — rgb(103, 103, 100)
Deuteranopia (Green-blind)
#676765 — rgb(103, 103, 101)
Tritanopia (Blue-blind)
#666666 — rgb(102, 102, 102)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 3%, 40%);
text
color: hsl(87, 3%, 40%);
border
border: 2px solid hsl(87, 3%, 40%);
gradient light
background: linear-gradient(to right, hsl(87, 3%, 60%), hsl(87, 3%, 40%));
gradient dark
background: linear-gradient(to right, hsl(87, 3%, 40%), hsl(87, 3%, 20%))
hex
background-color: #666963;
tailwind
bg-[hsl(87,3%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 3%, 40%, 0.4);
css variable
--color-primary: hsl(87, 3%, 40%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(87, 3%, 40%)?
HEX: #666963 | RGB: rgb(102, 105, 99) | CMYK: 3%, 0%, 6%, 59% | HSV: 90°, 6%, 41%. Copy any format from the conversion table above.
What colors go well with #666963?
The complementary color is HSL(267, 3%, 40%). For a triadic harmony, use hues 87°, 207°, and 327°. For analogous combinations, try hues 57° and 117°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(87, 3%, 40%) in CSS?
As HSL: color: hsl(87, 3%, 40%); — As HEX: color: #666963; — As RGB: color: rgb(102, 105, 99); — Tailwind CSS: bg-[hsl(87,3%,40%)] — CSS variable: --color-primary: hsl(87, 3%, 40%);