HSL(338, 8%, 27%)
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(338,8%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(338, 8%, 27%) | color: hsl(338, 8%, 27%) | |
| HEX | #4A3F43 | color: #4A3F43 | |
| RGB | rgb(74, 63, 67) | color: rgb(74, 63, 67) | |
| CMYK | cmyk(0%, 15%, 9%, 71%) | — | |
| HSV | hsv(338, 15%, 29%) | — | |
| HWB | hwb(338 25% 71%) | color: hwb(338 25% 71%) | |
| OKLCH | oklch(0.3805 0.0165 353.96) | color: oklch(0.3805 0.0165 353.96) | |
| Lab | lab(27.89 5.55 -0.68) | color: lab(27.89 5.55 -0.68) | |
| LCH | lch(27.89 5.59 353.01) | color: lch(27.89 5.59 353.01) |
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)
#454542 — rgb(69, 69, 66)
Deuteranopia (Green-blind)
#464742 — rgb(70, 71, 66)
Tritanopia (Blue-blind)
#494141 — rgb(73, 65, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(338, 8%, 27%);
text
color: hsl(338, 8%, 27%);
border
border: 2px solid hsl(338, 8%, 27%);
gradient light
background: linear-gradient(to right, hsl(338, 8%, 47%), hsl(338, 8%, 27%));
gradient dark
background: linear-gradient(to right, hsl(338, 8%, 27%), hsl(338, 8%, 7%))
hex
background-color: #4A3F43;
tailwind
bg-[hsl(338,8%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(338, 8%, 27%, 0.4);
css variable
--color-primary: hsl(338, 8%, 27%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(338, 8%, 27%)?
HEX: #4A3F43 | RGB: rgb(74, 63, 67) | CMYK: 0%, 15%, 9%, 71% | HSV: 338°, 15%, 29%. Copy any format from the conversion table above.
What colors go well with #4A3F43?
The complementary color is HSL(158, 8%, 27%). For a triadic harmony, use hues 338°, 98°, and 218°. For analogous combinations, try hues 308° and 8°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(338, 8%, 27%) in CSS?
As HSL: color: hsl(338, 8%, 27%); — As HEX: color: #4A3F43; — As RGB: color: rgb(74, 63, 67); — Tailwind CSS: bg-[hsl(338,8%,27%)] — CSS variable: --color-primary: hsl(338, 8%, 27%);