HSL(340, 3%, 38%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(340,3%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 3%, 38%) | color: hsl(340, 3%, 38%) | |
| HEX | #645E60 | color: #645E60 | |
| RGB | rgb(100, 94, 96) | color: rgb(100, 94, 96) | |
| CMYK | cmyk(0%, 6%, 4%, 61%) | — | |
| HSV | hsv(340, 6%, 39%) | — | |
| HWB | hwb(340 37% 61%) | color: hwb(340 37% 61%) | |
| OKLCH | oklch(0.4882 0.0083 355.07) | color: oklch(0.4882 0.0083 355.07) | |
| Lab | lab(40.51 2.79 -0.28) | color: lab(40.51 2.79 -0.28) | |
| LCH | lch(40.51 2.8 354.27) | color: lch(40.51 2.8 354.27) |
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)
#616160 — rgb(97, 97, 96)
Deuteranopia (Green-blind)
#62625F — rgb(98, 98, 95)
Tritanopia (Blue-blind)
#645F5F — rgb(100, 95, 95)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 3%, 38%);
text
color: hsl(340, 3%, 38%);
border
border: 2px solid hsl(340, 3%, 38%);
gradient light
background: linear-gradient(to right, hsl(340, 3%, 58%), hsl(340, 3%, 38%));
gradient dark
background: linear-gradient(to right, hsl(340, 3%, 38%), hsl(340, 3%, 18%))
hex
background-color: #645E60;
tailwind
bg-[hsl(340,3%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 3%, 38%, 0.4);
css variable
--color-primary: hsl(340, 3%, 38%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(340, 3%, 38%)?
HEX: #645E60 | RGB: rgb(100, 94, 96) | CMYK: 0%, 6%, 4%, 61% | HSV: 340°, 6%, 39%. Copy any format from the conversion table above.
What colors go well with #645E60?
The complementary color is HSL(160, 3%, 38%). For a triadic harmony, use hues 340°, 100°, and 220°. For analogous combinations, try hues 310° and 10°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(340, 3%, 38%) in CSS?
As HSL: color: hsl(340, 3%, 38%); — As HEX: color: #645E60; — As RGB: color: rgb(100, 94, 96); — Tailwind CSS: bg-[hsl(340,3%,38%)] — CSS variable: --color-primary: hsl(340, 3%, 38%);