HSL(320, 4%, 40%)
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(320,4%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(320, 4%, 40%) | color: hsl(320, 4%, 40%) | |
| HEX | #6A6267 | color: #6A6267 | |
| RGB | rgb(106, 98, 103) | color: rgb(106, 98, 103) | |
| CMYK | cmyk(0%, 8%, 3%, 58%) | — | |
| HSV | hsv(323, 8%, 42%) | — | |
| HWB | hwb(323 39% 58%) | color: hwb(323 39% 58%) | |
| OKLCH | oklch(0.5053 0.0127 339.63) | color: oklch(0.5053 0.0127 339.63) | |
| Lab | lab(42.43 4.17 -1.68) | color: lab(42.43 4.17 -1.68) | |
| LCH | lch(42.43 4.5 338.06) | color: lch(42.43 4.5 338.06) |
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)
#676666 — rgb(103, 102, 102)
Deuteranopia (Green-blind)
#676866 — rgb(103, 104, 102)
Tritanopia (Blue-blind)
#6A6565 — rgb(106, 101, 101)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(320, 4%, 40%);
text
color: hsl(320, 4%, 40%);
border
border: 2px solid hsl(320, 4%, 40%);
gradient light
background: linear-gradient(to right, hsl(320, 4%, 60%), hsl(320, 4%, 40%));
gradient dark
background: linear-gradient(to right, hsl(320, 4%, 40%), hsl(320, 4%, 20%))
hex
background-color: #6A6267;
tailwind
bg-[hsl(320,4%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(320, 4%, 40%, 0.4);
css variable
--color-primary: hsl(320, 4%, 40%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(320, 4%, 40%)?
HEX: #6A6267 | RGB: rgb(106, 98, 103) | CMYK: 0%, 8%, 3%, 58% | HSV: 323°, 8%, 42%. Copy any format from the conversion table above.
What colors go well with #6A6267?
The complementary color is HSL(140, 4%, 40%). For a triadic harmony, use hues 320°, 80°, and 200°. For analogous combinations, try hues 290° and 350°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(320, 4%, 40%) in CSS?
As HSL: color: hsl(320, 4%, 40%); — As HEX: color: #6A6267; — As RGB: color: rgb(106, 98, 103); — Tailwind CSS: bg-[hsl(320,4%,40%)] — CSS variable: --color-primary: hsl(320, 4%, 40%);