HSL(158, 3%, 38%)
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(158,3%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(158, 3%, 38%) | color: hsl(158, 3%, 38%) | |
| HEX | #5E6462 | color: #5E6462 | |
| RGB | rgb(94, 100, 98) | color: rgb(94, 100, 98) | |
| CMYK | cmyk(6%, 0%, 2%, 61%) | — | |
| HSV | hsv(160, 6%, 39%) | — | |
| HWB | hwb(160 37% 61%) | color: hwb(160 37% 61%) | |
| OKLCH | oklch(0.4973 0.0081 174.11) | color: oklch(0.4973 0.0081 174.11) | |
| Lab | lab(41.81 -2.75 0.33) | color: lab(41.81 -2.75 0.33) | |
| LCH | lch(41.81 2.77 173.16) | color: lch(41.81 2.77 173.16) |
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)
#616162 — rgb(97, 97, 98)
Deuteranopia (Green-blind)
#606063 — rgb(96, 96, 99)
Tritanopia (Blue-blind)
#5E6363 — rgb(94, 99, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(158, 3%, 38%);
text
color: hsl(158, 3%, 38%);
border
border: 2px solid hsl(158, 3%, 38%);
gradient light
background: linear-gradient(to right, hsl(158, 3%, 58%), hsl(158, 3%, 38%));
gradient dark
background: linear-gradient(to right, hsl(158, 3%, 38%), hsl(158, 3%, 18%))
hex
background-color: #5E6462;
tailwind
bg-[hsl(158,3%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(158, 3%, 38%, 0.4);
css variable
--color-primary: hsl(158, 3%, 38%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(158, 3%, 38%)?
HEX: #5E6462 | RGB: rgb(94, 100, 98) | CMYK: 6%, 0%, 2%, 61% | HSV: 160°, 6%, 39%. Copy any format from the conversion table above.
What colors go well with #5E6462?
The complementary color is HSL(338, 3%, 38%). For a triadic harmony, use hues 158°, 278°, and 38°. For analogous combinations, try hues 128° and 188°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(158, 3%, 38%) in CSS?
As HSL: color: hsl(158, 3%, 38%); — As HEX: color: #5E6462; — As RGB: color: rgb(94, 100, 98); — Tailwind CSS: bg-[hsl(158,3%,38%)] — CSS variable: --color-primary: hsl(158, 3%, 38%);