HSL(2, 5%, 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(2,5%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 5%, 38%) | color: hsl(2, 5%, 38%) | |
| HEX | #665C5C | color: #665C5C | |
| RGB | rgb(102, 92, 92) | color: rgb(102, 92, 92) | |
| CMYK | cmyk(0%, 10%, 10%, 60%) | — | |
| HSV | hsv(0, 10%, 40%) | — | |
| HWB | hwb(0 36% 60%) | color: hwb(0 36% 60%) | |
| OKLCH | oklch(0.4843 0.013 17.61) | color: oklch(0.4843 0.013 17.61) | |
| Lab | lab(40 4.02 1.46) | color: lab(40 4.02 1.46) | |
| LCH | lch(40 4.28 19.96) | color: lch(40 4.28 19.96) |
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)
#62625C — rgb(98, 98, 92)
Deuteranopia (Green-blind)
#62635C — rgb(98, 99, 92)
Tritanopia (Blue-blind)
#665C5C — rgb(102, 92, 92)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 5%, 38%);
text
color: hsl(2, 5%, 38%);
border
border: 2px solid hsl(2, 5%, 38%);
gradient light
background: linear-gradient(to right, hsl(2, 5%, 58%), hsl(2, 5%, 38%));
gradient dark
background: linear-gradient(to right, hsl(2, 5%, 38%), hsl(2, 5%, 18%))
hex
background-color: #665C5C;
tailwind
bg-[hsl(2,5%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 5%, 38%, 0.4);
css variable
--color-primary: hsl(2, 5%, 38%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(2, 5%, 38%)?
HEX: #665C5C | RGB: rgb(102, 92, 92) | CMYK: 0%, 10%, 10%, 60% | HSV: 0°, 10%, 40%. Copy any format from the conversion table above.
What colors go well with #665C5C?
The complementary color is HSL(182, 5%, 38%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(2, 5%, 38%) in CSS?
As HSL: color: hsl(2, 5%, 38%); — As HEX: color: #665C5C; — As RGB: color: rgb(102, 92, 92); — Tailwind CSS: bg-[hsl(2,5%,38%)] — CSS variable: --color-primary: hsl(2, 5%, 38%);